1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Jindrich Makovicka 259af1b923 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>
2013-05-17 07:49:05 +02:00
compat Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
doc Apple Intermediate Codec decoder 2013-05-17 06:31:05 +02:00
libavcodec mpegvideo: allocate sufficiently large scratch buffer for interlaced vid 2013-05-17 07:49:05 +02:00
libavdevice Remove commented-out debug #define cruft 2013-05-16 00:23:30 +02:00
libavfilter vf_pixdesctest: make config_props work properly when called multiple times. 2013-05-17 07:44:23 +02:00
libavformat Apple Intermediate Codec decoder 2013-05-17 06:31:05 +02:00
libavresample avresample: Add av_cold attributes to init functions missing them 2013-05-04 21:10:05 +02:00
libavutil Remove commented-out #includes 2013-05-15 23:01:21 +02:00
libswscale pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* 2013-05-15 07:46:51 +02:00
presets
tests vc1dec: Update destination pointers in context for fields 2013-05-15 11:38:49 +03:00
tools silly typo fixes 2013-05-03 18:26:12 +02:00
.gitignore Integrate lcov/gcov into Libav 2013-04-05 18:55:11 +02:00
arch.mak arm: rename ARMVFP config symbol to VFP 2012-12-07 16:54:04 +00:00
avconv_filter.c avconv: use current syntax for the scale filter 2013-05-10 08:26:04 +02:00
avconv_opt.c avconv: remove -deinterlace 2013-05-07 12:31:55 +02:00
avconv.c avconv: remove -deinterlace 2013-05-07 12:31:55 +02:00
avconv.h avconv: do not send non-monotonous DTS to the muxers. 2013-05-03 09:59:48 +02:00
avplay.c avplay: remove a warning 2013-04-27 10:51:28 +02:00
avprobe.c avtools: move media_type_string() from avprobe to cmdutils. 2013-04-11 20:46:04 +02:00
avserver.c avserver: don't set deprecated options. 2013-03-08 07:41:07 +01:00
Changelog Apple Intermediate Codec decoder 2013-05-17 06:31:05 +02:00
cmdutils_common_opts.h cmdutils: extend -h to allow printing codec details. 2012-08-19 19:22:08 +02:00
cmdutils.c pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* 2013-05-15 07:46:51 +02:00
cmdutils.h avtools: move media_type_string() from avprobe to cmdutils. 2013-04-11 20:46:04 +02:00
common.mak Integrate lcov/gcov into Libav 2013-04-05 18:55:11 +02:00
configure Apple Intermediate Codec decoder 2013-05-17 06:31:05 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL
library.mak build: Move setting of SRC_DIR to the only place it is used 2013-03-27 14:49:13 +01:00
LICENSE LICENSE: Move (L)GPLv3 explanation block to a more suitable place 2013-02-27 19:51:10 +01:00
Makefile Integrate lcov/gcov into Libav 2013-04-05 18:55:11 +02:00
README
RELEASE Prepare for 10_alpha1 Release 2013-01-06 16:23:12 +01:00
version.sh

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.