diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-11-24 01:12:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-05 03:29:28 +0100 |
commit | 4a0b1d924564d7d99254f10fe69aeab5dbef9efa (patch) | |
tree | 7c7f3da001f12fbd87b3175d0ea61e9067fe267a /libavformat/nsvdec.c | |
parent | 4f69477870dd6a2d1a7fffa91d48d0a9bcef6640 (diff) | |
download | ffmpeg-4a0b1d924564d7d99254f10fe69aeab5dbef9efa.tar.gz |
lavc/libxvid: workaround for bug in libxvidcore
libxvidcore calculate number of threads basing on video height.
If height is small enough it allocates 0 bytes long memory and
writes to it.
Setting thread_count to 0 uses 1 thread and skips bugged code.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/nsvdec.c')
0 files changed, 0 insertions, 0 deletions