h264: Do not treat the initial frame special in handling of frame gaps
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Nov 2013 10:27:45 +0000 (11:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 17 Nov 2013 18:11:07 +0000 (19:11 +0100)
commit1497633924c3f611e4bee7bb8ea5557189b764f4
treeb9918efbb017e9598b18a892b655f79aa5e02cb9
parentf16751175324ea31e25fa30851ed915548516beb
h264: Do not treat the initial frame special in handling of frame gaps

The not handling of frame gaps has lead to the lack of a dummy reference
frame, which has lead to the failure of decode_slice_header() which has
lead to one SEI recovery message being skiped which had introduced a
slightly suboptimal recovery point for at least 1 h264 file compared to
JM.

Found-by: Carl & BugMaster
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 9e5ef1c5c37208326c59d642e2dc7afd3f10b09b)

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