h264: do not let invalid values in h->ref_count on ff_h264_decode_ref_pic_list_reorde...
authorLaurent Aimar <fenrir@videolan.org>
Sun, 2 Oct 2011 14:06:37 +0000 (16:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 6 Nov 2011 18:49:12 +0000 (19:49 +0100)
commitd1a5b53ededd091484949a33c6e9f97d4612602d
treee957008640aa6e07a36222e1f1bff135d93a16b9
parent8e6173c76a33ae3358314eace94e3e854c4c2555
h264: do not let invalid values in h->ref_count on ff_h264_decode_ref_pic_list_reordering() errors.

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

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