h264: Reset last_pocs in case of reference or frame number inconsistencies
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2013 21:36:07 +0000 (22:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 13 Feb 2013 22:19:51 +0000 (23:19 +0100)
commitc230af9bccc3cadb373f9007ba14fffb6c2acc75
tree575b9f1185f948e496c8660bd4c24e0474259d8a
parent15e7533ca1a1a5d6bf0b35cf67b9e0a0bae7ee27
h264: Reset last_pocs in case of reference or frame number inconsistencies

This prevents faulty increasing of has_b_frames
Should fix Ticket 2062

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