Move dummy picture allocation code from mpeg1/2 to mpegvideo.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Nov 2009 21:22:01 +0000 (21:22 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 30 Nov 2009 21:22:01 +0000 (21:22 +0000)
commitd52b4abe8b7d58b1680b5ae5fccfcbd50ad98ef0
tree1ed07c4099960d1748974a0bed144c8cbae22baf
parentfd1ef13bb4ac13f330178b4c2d67a62d3aaf46d9
Move dummy picture allocation code from mpeg1/2 to mpegvideo.
This fixes a infinite loop on a b frame.

Originally committed as revision 20672 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpeg12.c
libavcodec/mpegvideo.c