Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
authorJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 05:37:23 +0000 (05:37 +0000)
committerJeff Downs <heydowns@borg.com>
Fri, 14 Dec 2007 05:37:23 +0000 (05:37 +0000)
commit33e00731294e304ef7935fdb6dd7214bc4df391f
tree475887920989e84f3484716eaa57932d95668a7c
parent603972fc53934c46e5de0c93f439fee2716f1198
Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.
Namely, that it should not be called if you are starting to decode a B
frame without any reference pictures.
Prevents an endless allocation cycle in MPV_frame_start that will end in
picture buffer overflow and abort.
Fixes roundup issue 216.

Originally committed as revision 11214 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c