h264: Use mismatching frame numbers in fields
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 12 Nov 2011 20:10:15 +0000 (21:10 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 6 Dec 2011 22:39:42 +0000 (23:39 +0100)
commitba5bb0562b37313540845ae7fa069134aad6e0c9
tree74256ea8ddf75e5372033c3f5bfbf1bd0790119b
parent47b5fabd6a4227cb4e978fa8a19ef43d4d9bbec0
h264: Use mismatching frame numbers in fields

to synchronize the first/second field state independant of them being reference or not.
Fixes Ticket354

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 545ec935a4b4e0f032ebd975907b41f6fe4465c9)
libavcodec/h264.c