summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/rkmpp : remove stream start retries before first frame.LongChair2018-01-06
| | | | | | | | | those were needed because of some odd mpp behavior that seems to have been fixed. Makes the code cleaner. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* avcodec/rkmpp : Fix broken build due to missing control operationLongChair2018-01-06
| | | | | | | | | | | | | | This patch is taking care of https://trac.ffmpeg.org/ticket/6834. It seems that one of the control operations that was available to get the free decoders input slots was removed. There is another control operation to retrieve the used slots. Given that the input slot count is hardcoded to 4 in mpp at this point, replacing the old control operation by the other one. This was tested on Rockchip ROCK64. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* tools/uncoded_frame: remove use of AVStream.codec.Nicolas George2018-01-06
|
* tools/uncoded_frame: use buffersink accessors.Nicolas George2018-01-06
| | | | No longer access buffersink's link structure directly.
* avfilter: deprecate avfilter_link_get_channels()James Almer2018-01-06
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/av_biquads: scale a0 tooPaul B Mahol2018-01-06
| | | | | | Fixes bug when using commands to alter coefficients. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* aiff: add explicit goto got_soundMisty De Meo2018-01-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* adpcm: consume remainder after consuming XA chunksMisty De Meo2018-01-06
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/fate: Document how to upload samples to the fate suiteMichael Niedermayer2018-01-06
| | | | | | Suggested-by: Compn Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Revert "avfilter: deprecate avfilter_link_get_channels()"James Almer2018-01-05
| | | | | | This reverts commit 798dcf2432999f449c76c0e0fe2d7a4ee5eabbc2. It was applied by accident before it could be reviewed.
* Revert "tools/uncoded_frame: remove usage of avfilter_link_get_channels()"James Almer2018-01-05
| | | | | | This reverts commit 01c21653eee53a353ae887a47cd2b48165902383. It was applied by accident before it could be reviewed.
* doc/libav-merge: remove line about libavutil atomics APIJames Almer2018-01-05
| | | | | | See 89b84cb18b54d3af281643bcad8bba365a702e96. Signed-off-by: James Almer <jamrial@gmail.com>
* tools/uncoded_frame: remove usage of avfilter_link_get_channels()James Almer2018-01-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: deprecate avfilter_link_get_channels()James Almer2018-01-05
| | | | | | And move the channels field to the public section of the struct. Signed-off-by: James Almer <jamrial@gmail.com>
* fate: add PERSIST_RPARAM_A_RExt_Sony_3 hevc conformance testJames Almer2018-01-05
| | | | | | | | The PERSIST_RPARAM_A_RExt_Sony_1 bitstream has an out-of-range value and has therefore been superseded. It is otherwise identical, and decodes the same. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_aiir: do not crash with invalid optionsPaul B Mahol2018-01-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* It has been replaced by C11 stdatomic.h and is now unused.Anton Khirnov2018-01-05
| | | | | (cherry picked from commit 5cc0057f4910c8c72421b812c8f337ef6c43696c) Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/error_resilience: remove unused headerJames Almer2018-01-05
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: use a mutex instead of atomics in avfilter_register()James Almer2018-01-05
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: use mutexes instead of atomics in av_register_{input,output}_format()James Almer2018-01-05
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/util: use a mutex instead of atomics in avcodec_register()James Almer2018-01-05
| | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: add arbitrary audio IIR filterPaul B Mahol2018-01-05
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/dnxhddec: Check dc vlcMichael Niedermayer2018-01-05
| | | | | | | | | Fixes: signed integer overflow: 1024 + 2147483640 cannot be represented in type 'int' Fixes: 4671/clusterfuzz-testcase-minimized-6027464343027712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: rename variables in geqMarc-Antoine Arnaud2018-01-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: slice processing for geqMarc-Antoine Arnaud2018-01-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: reorder variable definition in geqMarc-Antoine Arnaud2018-01-05
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/parser: use a mutex instead of atomics in av_register_codec_parser()James Almer2018-01-04
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_framerate: calculate interpolation as integerMarton Balint2018-01-04
| | | | | | | | | | It was truncated to int later on anyway. Fate test changes are due to rounding instead of truncation. Fixes fate test failures on x86-32 (gcc 4.8 (Ubuntu 4.8.5-2ubuntu1~14.04.1)) after 090b740680f91e0f2bf07423c36df7166740e8f6. Signed-off-by: Marton Balint <cus@passwd.hu>
* aiff: add support for XA ADPCMMisty De Meo2018-01-04
| | | | | | | | | Certain AIFF files encode XA ADPCM compressed audio using a chunk with the tag `APCM`. Aside from this custom chunk type, they're otherwise standard AIFF files. I've only observed these files in the Sega Saturn game Sonic Jam so far. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/log: use thread wrappers for the locking functionalityJames Almer2018-01-04
| | | | | | | | w32threads and os2threads both support static mutex initialization now, so don't limit it to pthreads only. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: use thread wrappers for the thread message functionalityJames Almer2018-01-04
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: update minimum required version of libvmafJames Almer2018-01-04
| | | | | | | | At least version 0.6.2 is needed since commit df3222d4bb18cbceda443def17b1b29067ed6e3f. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* http: avoid logging reconnect warning if stream was abortedwm42018-01-04
| | | | | | If the stream was aborted using the libavformat interrupt callback, we don't want it to log the reconnect warning. (Exiting after logging this warning worked well, so this is only for avoiding the ugly warning.)
* hwcontext_dxva2: initialize D3DDISPLAYMODEEX correctlywm42018-01-04
|
* libavutil/hwcontext_dxva2: Add check for possible errors from ↵Humberto Ribeiro2018-01-04
| | | | | | | | | | GetAdapterDisplayModeEx This prevents a possible crash in CreateDeviceEx when using faulty response from GetAdapterDisplayModeEx and allows ffmpeg to fallback to classic d3d9. Signed-off-by: wm4 <nfxjfg@googlemail.com>
* http: bump message level for reconnect message and log timeoutwm42018-01-04
|
* http: block while waiting for reconnectingwm42018-01-04
| | | | | | | | | | | | | | | | | | It makes no sense to return an error after the first reconnect, and then somehow resume the next time it's called. Usually this will lead to demuxer errors. Make reconnecting block instead, until it has either successfully reconnected, or given up. Also make the wait reasonably interruptible. Since there is no mechanism for this in the API, polling is the best we can do. This behaves roughly the same as other interruptible network functions in libavformat. (The original code would work if it returned AVERROR(EAGAIN) or so, which would make retry_transfer_wrapper() repeat the read call. But I think having an explicit loop for this is better anyway.) I also snuck in a fix for reconnect_at_eof. It has to check for AVERROR_EOF, not 0.
* avfilter: add hilbert source FIR filterPaul B Mahol2018-01-04
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavu/mem: Allow allocations close to max_alloc_size with av_fast_realloc().Carl Eugen Hoyos2018-01-04
|
* opusenc_psy: disable stereo searches for mono streamsRostislav Pehlivanov2018-01-04
| | | | | | Fixes a crash which happened when someone tried to encode mono. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* lavr: deprecate the entire libraryRostislav Pehlivanov2018-01-04
| | | | | | | | | | | | | Deprecate the entire library. Merged years ago to provide compatibility with Libav, it remained unmaintained by the FFmpeg project and duplicated functionality provided by libswresample. In order to improve consistency and reduce attack surface, as well as to ease burden on maintainers, it has been deprecated. Users of this library are asked to migrate to libswresample, which, as well as providing more functionality, is faster and has higher accuracy. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avfilter: pass outlink to ff_get_audio_buffer()Paul B Mahol2018-01-03
| | | | | | This is more correct. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* lavc/audiotoolboxenc: fix noise in encoded audioJiejun Zhang2018-01-03
| | | | | | | | | | | | | | This fixes #6940 Although undocumented, AudioToolbox seems to require the data supplied by the callback (i.e. ffat_encode_callback) being unchanged until the next time the callback is called. In the old implementation, the AVBuffer backing the frame is recycled after the frame is freed, and somebody else (maybe the decoder) will write into the AVBuffer and change the data. AudioToolbox then encodes some wrong data and noise is produced. Retaining a frame reference solves this problem. Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi/framesync: remove an invalid free.Nicolas George2018-01-03
|
* lavfi/framesync: document frame ownership for dualinput.Nicolas George2018-01-03
|
* avfilter: add entropy filterPaul B Mahol2018-01-03
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_paletteuse: Don't free the second frame from ↵Derek Buitenhuis2018-01-03
| | | | | | | | ff_framesync_dualinput_get_writable on error This fixes a double free in he error case. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* vf_paletteuse: Add error checking to apply_paletteDerek Buitenhuis2018-01-03
| | | | | | | This fixes a segfault caused by passing NULL to ff_filter_frame when an error occurs. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavc/options: Remove unneeded headerDerek Buitenhuis2018-01-03
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/utvideoenc: switch to planar RGB formatsPaul B Mahol2018-01-02
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>