h264: Complexify frame num gap shortening code
authorAlexander Strange <astrange@ithinksw.com>
Sun, 12 Jun 2011 20:40:00 +0000 (20:40 +0000)
committerAnton Khirnov <anton@khirnov.net>
Thu, 16 Jun 2011 18:51:51 +0000 (20:51 +0200)
commit3803af22d8e1092e658110e77db093922ce63e80
treeb2e4647ce2477009a13ba649951fa238ed3149d3
parentc98b928fa7dea6418c24a163e7bcd36b0eb922a3
h264: Complexify frame num gap shortening code

By observation it did not seem to handle prev_frame_num > frame_num.
This does not affect any files I have.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/h264.c