aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/buffersink.h
diff options
context:
space:
mode:
authorJindrich Makovicka <makovick@gmail.com>2013-05-16 16:49:28 +0200
committerReinhard Tartler <siretart@tauware.de>2013-05-31 23:00:30 +0200
commit7f451cb01f9f7a749b503179ba58b2f999056905 (patch)
treef0e794a97219e2d34a820c97fe9b94e869573d08 /libavfilter/buffersink.h
parentaaeef7fa0d6ebb1a3668894e67a70cd5084ce4f4 (diff)
downloadffmpeg-7f451cb01f9f7a749b503179ba58b2f999056905.tar.gz
mpegvideo: allocate sufficiently large scratch buffer for interlaced vid
MPV_decode_mb_internal needs 3 * 16 * linesize bytes of scratch buffer For interlaced content, linesize is multiplied by two after the allocation of the scratch buffer, and the dest_cr pointer ends past the buffer. This patch makes ff_mpv_frame_size_alloc allocate a total of (aligned line_size) * 2 * 16 * 3 bytes, which suffices even for the interlaced case. CC:libav-stable@libav.org Signed-off-by: Jindrich Makovicka <makovick@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commit 259af1b92370b32f6d0b9a6de314db4b44c2481d) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavfilter/buffersink.h')
0 files changed, 0 insertions, 0 deletions