Jindrich Makovicka 7f451cb01f 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 259af1b923)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2013-05-31 23:00:30 +02:00
2012-10-23 12:01:18 +01:00
2012-12-21 00:18:34 +01:00
2012-12-18 20:14:54 +01:00
2012-12-18 20:14:54 +01:00
2013-05-12 08:39:07 +02:00
2012-12-10 17:23:53 +00:00
2011-03-16 21:54:39 +01:00
2011-04-07 02:54:12 +02:00
2012-12-10 17:23:53 +00:00
2012-12-10 17:23:53 +00:00
2013-05-31 23:00:30 +02:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%