mpegvideo: set correct offset for edge emulation buffer.
authorRonald S. Bultje <rsbultje@gmail.com>
Mon, 3 Oct 2011 15:38:03 +0000 (08:38 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Wed, 5 Oct 2011 11:01:23 +0000 (04:01 -0700)
commit330deb75923675224fb9aed311d3d6ce3ec52420
treee1ab909e74b0c360de911c0e770f116fb89b5a0b
parent0884dd5a1b87aff6c8a06e6492dece5cef8f3978
mpegvideo: set correct offset for edge emulation buffer.

Using the old code, half of it was unused and the other half was too
small for e.g. >8bpp interlaced data, causing random buffer overruns.
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h