Restructure dummy frame allocation.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Nov 2009 03:05:11 +0000 (03:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Nov 2009 03:05:11 +0000 (03:05 +0000)
commitd9b99556bfa9388d3d61b92dd22853e05a1ea428
treee27bd0fa0e441c2a7777fac9b3dca619d94f87e5
parent729ef3ba6205d99de29a3f279890759af414bcb8
Restructure dummy frame allocation.
New code also allocates a dummy frame for an p field after an i field,
previously that could segfault due to reading from NULL+x.

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