Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-27lavc: Add hardware config metadata for decoders supporting hardware outputMark Thompson
This includes a pointer to the associated hwaccel for decoders using hwaccels - these will be used later to implement the hwaccel setup without needing a global list. Also added is a new file listing all hwaccels as external declarations - this will be used later to generate the hwaccel list at configure time.
2017-11-27lavc: Add codec metadata to indicate hardware supportMark Thompson
2017-11-26avformat/aacdec: Fix leak in adts_aac_read_packet()Michael Niedermayer
Fixes: chromium-773637/clusterfuzz-testcase-minimized-6418078673141760 Found-by: ossfuzz/chromium Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-26avcodec/dirac_dwt: Fix integer overflow in COMPOSE_FIDELITYi*Michael Niedermayer
Fixes: runtime error: signed integer overflow: -2143827186 - 7404944 cannot be represented in type 'int' Fixes: 4354/clusterfuzz-testcase-minimized-4671122764201984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-26vorbisenc: Check the return value of av_frame_cloneDerek Buitenhuis
Prevents a segfault when alloc fails. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-11-26doc/ffmpeg: Document opencl for -init_hw_deviceMark Thompson
2017-11-26doc/fftools: Remove documentation for old -opencl_bench optionMark Thompson
2017-11-26nvenc: Include config.h before checking for D3D11 supportMark Thompson
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
2017-11-26hwcontext_vaapi: Do not assume that sw_format is transferableMark Thompson
Drivers can support a format for surfaces without also supporting it for images, so we can't assume that sw_format is usable for transfer. This would previously hit an assert in cases where it isn't.
2017-11-26h264_picture: Actually return error during alloc failureDerek Buitenhuis
Fixes NULL dereference during alloc failure. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2017-11-26avfilter: add lv2 wrapper filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-26error_resilience: remove avpriv_atomic usageRostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-11-26libavcodec/utils.c: simplify avcodec locking with atomicsRostislav Pehlivanov
Also makes it more robust than using volatiles. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-11-26lavc/utils.c: use C11 atomics for entangled thread handlingRostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-11-26avformat/mov_esds: check return value of ff_mp4_read_dec_config_descrJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-26avformat/isom: return proper error values in ff_mp4_read_dec_config_descrJames Almer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-25fate/hapAlphaOnly : add test for hap alpha only decodingMartin Vignali
2017-11-25avcodec/hapdec : use gray8 for HapAlphaOnly decoding instead of RGB0Martin Vignali
2017-11-25avcodec/texturedsp : add rgtc1u gray decodingMartin Vignali
decode rgtc1 block in gray8 picture
2017-11-25hwcontext_d3d11va: properly reset values after release/closeJan Ekström
Makes the uninit function re-entrable, which can be a common case when an API user first tries to initialize its context, fails, and then finally unrefs the AVHWDevice. Fixes a crash reported by sm2345 on IRC.
2017-11-25avcodec/fft: fix INTERL macro on 3dnowMikulas Patocka
The commit b7c16a3f2c4921f613319938b8ee0e3d6fa83e8d ("x86: fft: Port to cpuflags") breaks the opus decoder in ffmpeg when compiling for 3dnow. The output is audible, but there's a lot of noise. The reason for the breakage is that the commit unintentionally changed the INTERL macro so that it is empty when compiling for 3dnow. This patch fixes it. Signed-off-by: Mikulas Patocka <mikulas@twibright.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-25hwcontext_opencl: Reset internal command queue on device_uninitMark Thompson
device_uninit can be called twice if device_init fails.
2017-11-25hwcontext_d3d11: Log adapter details on device creationMark Thompson
This is helpful to know what device has actually been used.
2017-11-25configure: remove superfluous cuvid and nvdec checksJames Almer
Both are autodetected, and their dependency on cuda is checked elsewhere. Fixes ticket #6849. Reviewed-by: Philip Langdale <philipl@overt.org> Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-25doc/APIchanges: Fix lavu versions for OpenCL changesMark Thompson
Also fix a typo and fill hashes and dates.
2017-11-25lavu/pixfmt: Remove gap in the middle of enum AVPixelFormatMark Thompson
This was added for compatibility with libav, by leaving a space for formats added in libav to be merged. Since that feature has been removed, we don't need a gap here. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-25Merge commit '136e7cf64ce9e78de7158d6720539d51cb96b743'Mark Thompson
* commit '136e7cf64ce9e78de7158d6720539d51cb96b743': qsv/hevcdec: Load hw plugin by default on non-windows os Merged-by: Mark Thompson <sw@jkqxz.net>
2017-11-25avfilter: add normalize filterRichard Ling
2017-11-25ffmpeg libopusdec: fix missing include file in libopusdec.cMikulas Patocka
This patch fixes the following error when compiling mplayer with libopus. libavcodec/libopusdec.c: In function 'libopus_decode_init': libavcodec/libopusdec.c:130:27: error: implicit declaration of function 'ff_exp10'; did you mean 'ff_exp2fi'? [-Werror=implicit-function-declaration] double gain_lin = ff_exp10(gain_db / (20.0 * 256)); ^~~~~~~~ ff_exp2fi Signed-off-by: Mikulas Patocka <mikulas@twibright.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-25lavf/mov: fix crash in mov_read_sidxJohn Stebbins
Use correct index into streams Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-25avformat/dashenc: Associate mpd extension with dash muxerKarthick J
Reviewed-by: 刘歧 <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-25avcodec/sbrdsp_fixed: Fix integer overflowMichael Niedermayer
Fixes: signed integer overflow: 2147483598 + 64 cannot be represented in type 'int' Fixes: 4337/clusterfuzz-testcase-minimized-6192658616680448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-24avformat/utils: fix mixed declarations and codeJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-24avcodec/nvdec: Round up odd width/height valuesPhilip Langdale
nvdec will not produce odd width/height output, and while this is basically never an issue with most codecs, due to internal alignment requirements, you can get odd sized jpegs. If an odd-sized jpeg is encountered, nvdec will actually round down internally and produce output that is slightly smaller. This isn't the end of the world, as long as you know the output size doesn't match the original image resolution. However, with an hwaccel, we don't know. The decoder controls the reported output size and the hwaccel cannot change it. I was able to trigger an error in mpv where it tries to copy the output surface as part of rendering and triggers a cuda error because cuda knows the output frame is smaller than expected. To fix this, we can round up the configured width/height passed to nvdec so that the frames are always at least as large as the decoder's reported size, and data can be copied out safely. In this particular jpeg case, you end up with a blank (green) line at the bottom due to nvdec refusing to decode the last line, but the behaviour matches cuviddec, so it's as good as you're going to get.
2017-11-24avformat/ttaenc: add tta_init()James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-24avformat/ttaenc: buffer packets directlyJames Almer
This is a bit more robust in case of OOM. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-24avcodec/vorbis: 1 << 31 > int32_t::max(), so use 1u << 31 instead.Dale Curtis
Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-24avformat/utils: Prevent undefined shift with wrap_bits > 64.Dale Curtis
2LL << (wrap_bits=64 - 1) does not fit in int64_t; change the code to use a uint64_t (2ULL) and add an av_assert2() to ensure wrap_bits <= 64. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-24avfilter/af_amix: make use of av_asprintf()Paul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24avfilter: add mix filterPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24avfilter/af_ladspa: remove duplicate code linesPaul B Mahol
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2017-11-24avcodec/j2kenc: Only allocate cblk.data onceMichael Niedermayer
Fixes: memleak Found-by: <jamrial> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-11-24avformat/hlsenc: Added option to add EXT-X-INDEPENDENT-SEGMENTS tagKarthick J
2017-11-24avformat/hlsenc: Refactor an inconsistent variable nameKarthick J
2017-11-24avformat/hlsenc: Minor fix in setting http options for master playlistKarthick J
2017-11-24avfilter/Makefile: skip building opencl.h when opencl is disabledJames Almer
Fixes make checkheaders. Signed-off-by: James Almer <jamrial@gmail.com>
2017-11-23doc/filters: mention (a)loop defaultsLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2017-11-23doc/filters.texi: explain infinite loopingWerner Robitza
Explain how to achieve infinite looping with the loop / aloop filters. Signed-off-by: Werner Robitza <werner.robitza@gmail.com>
2017-11-23avcodec/x86/exrdsp : use ymm constant for pb_80Martin Vignali
speed seems to be similar, but simplify code
2017-11-23Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined"Derek Buitenhuis
This was an mplayer-specific hack. This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>