h264: do not let invalid values in h->ref_count after a decoder reset.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 4 Oct 2011 20:13:58 +0000 (22:13 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Nov 2011 18:49:12 +0000 (19:49 +0100)
commit2eb5f77bc8ac0b533e3d305bf6dbe54186471465
treeeec421235f312703270fd03a82692cddcb7dadcd
parentddbbe500b04a6c2a6551461843e6c94e5576fcbf
h264: do not let invalid values in h->ref_count after a decoder reset.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0333d234b0355b375762447e93674e3fe3c5bff1)
(cherry picked from commit f74d1c6de7ef810544edae947db1eb1e2c7b6361)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c