avcodec/h264: reset the counts in the correct context
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Apr 2015 11:38:55 +0000 (13:38 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Apr 2015 13:06:54 +0000 (15:06 +0200)
commit4191e01e9906a88f4686ee2e20928538da3d4b96
treeaa7307f0399cf85640d447e7cba7393d9bb39849
parente617d6f98844082404a031859b4faf05c3a91bab
avcodec/h264: reset the counts in the correct context

Fixes null pointer dereference

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8f8d632220100bfde26587b27da73901b05cb774)
libavcodec/h264.c