summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* opus: simplify coarse energy beta coefficientsRostislav Pehlivanov2017-07-18
| | | | | | Just put the subtraction in the table. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avdevice/decklink_dec: add support for receiving op47 teletextMarton Balint2017-07-18
| | | | | | | | | v2: - use uint16_t instead of int to store 10-bit ancillary data - fix ancillary line numbers for 1080p - some comments and clarifications as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink_dec: add support for decoding teletext from 10bit ↵Marton Balint2017-07-18
| | | | | | | | | | | | | ancillary data This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. v2: - only try teletext decoding for 576i PAL mode - some comments as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* lavc/jpeg2000dec: Read the sample aspect ratio from the jp2 resolution box.Carl Eugen Hoyos2017-07-18
|
* ffprobe: reindent after previous commitClément Bœsch2017-07-18
|
* ffprobe: add -(no)find_stream_info expert optionClément Bœsch2017-07-18
|
* ffplay: reindent after previous commitClément Bœsch2017-07-18
|
* ffplay: add -(no)find_stream_info expert optionClément Bœsch2017-07-18
|
* ffmpeg: reindent after previous commitClément Bœsch2017-07-18
|
* ffmpeg: add -(no)find_stream_info expert optionClément Bœsch2017-07-18
|
* opusenc: remove unused variableRostislav Pehlivanov2017-07-18
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* configure: Fix libvmaf nameMatt Oliver2017-07-16
| | | | | | | Fixes: fatal error: libvmaf.h: No such file or directory. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* webmdashenc: Fix memory leakDerek Buitenhuis2017-07-16
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/apedec: Fix integer overflowMichael Niedermayer2017-07-16
| | | | | | | | Fixes: out of array access Fixes: PoC.ape and others Found-by: Bingchang, Liu@VARAS of IIE Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add LIBVMAF filterAshish Singh2017-07-16
| | | | | | | | This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avcodec/ffv1dec_template: Fix signed integer overflowMichael Niedermayer2017-07-16
| | | | | | | | Fixes: runtime error: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 2634/clusterfuzz-testcase-minimized-4540890636877824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacdec_template: Fix undefined integer overflow in apply_tns()Michael Niedermayer2017-07-16
| | | | | | | | Fixes: runtime error: signed integer overflow: -2147483648 - 1202286525 cannot be represented in type 'int' Fixes: 2071/clusterfuzz-testcase-minimized-6036414271586304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add sub-srt-badsyntax testMichael Niedermayer2017-07-15
| | | | | | Based-on: srt sample by ubitux Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* hdsenc: Remove dead storeDerek Buitenhuis2017-07-14
| | | | | | | This is apparently not supposed to error out anyway. Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* opusenc: use float_dsp for non-transient windowingRostislav Pehlivanov2017-07-14
| | | | | | Also fixes transient windowing Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* avutil/threadmessage: fix error return in case of av_fifo_alloc failureAleksandr Slobodeniuk2017-07-14
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: Add prefetch for mipsKaustubh Raste2017-07-14
| | | | | | Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com> Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* x86/vf_limiter: make limiter functions work on x86_32James Almer2017-07-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to ↵James Almer2017-07-13
| | | | | | aacpsdsp Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add a g722dsp testJames Almer2017-07-13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* opusenc: use float_dsp for transient mdctsRostislav Pehlivanov2017-07-13
| | | | | | vector_fmul_reverse requires padding the window at the front Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* movenc: Add 'keywords' metadataKieran O'Leary2017-07-13
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: use pkg-config for libgme, if availableRicardo Constantino2017-07-13
| | | | | | The pkg-config file is relatively new (2013), so some distros might not have it yet. And the -lstdc++ being required for the static lib is only present since the last release in December 2016.
* avcodec/ivi: Use av_image_check_size2()Michael Niedermayer2017-07-12
| | | | | | | | Fixes OOM Fixes: 1514/clusterfuzz-testcase-minimized-6437666243477504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/magicyuv: Check that vlc len is not too largeMichael Niedermayer2017-07-12
| | | | | | | | Fixes: runtime error: shift exponent -95 is negative Fixes: 2568/clusterfuzz-testcase-minimized-4926115716005888 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mjpegdec: Clip DC also on the negative side.Michael Niedermayer2017-07-12
| | | | | | | | Fixes: runtime error: signed integer overflow: -16711425 + -2130772346 cannot be represented in type 'int' Fixes: 2533/clusterfuzz-testcase-minimized-5372857678823424 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacps (fixed point): Fix multiple signed integer overflowsMichael Niedermayer2017-07-12
| | | | | | | | Fixes: runtime error: signed integer overflow: 1421978265 - -1810326882 cannot be represented in type 'int' Fixes: 2527/clusterfuzz-testcase-minimized-5260915396050944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* pthread_frame: save the FF_DEBUG_THREADS option in PerThreadContext.Wan-Teh Chang2017-07-11
| | | | | | | | | | | | | | | | | | | | | | Add the debug_threads boolean field to PerThreadContext. For PerThreadContext *p, p->debug_threads records whether the FF_DEBUG_THREADS bit is set in p->avctx->debug, and p->debug_threads and p->avctx->debug are kept in sync. The debug_threads field is defined as an atomic_int to allow atomic read by another thread in ff_thread_await_progress(). This fixes the tsan warning that 2e664b9c1e73c80aab91070c1eb7676f04bdd12d attempted to fix: WARNING: ThreadSanitizer: data race (pid=452658) Write of size 4 at 0x7b640003f4fc by main thread (mutexes: write M248499): #0 update_context_from_user [..]/libavcodec/pthread_frame.c:335:19 (5ab42bb1a6f4b068d7863dabe9b2bacc+0xe73859) [..] Previous read of size 4 at 0x7b640003f4fc by thread T130 (mutexes: write M248502, write M248500): #0 ff_thread_await_progress [..]/libavcodec/pthread_frame.c:591:26 (5ab42bb1a6f4b068d7863dabe9b2bacc+0xe749a1) Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* aacdec_template: fix non-power-of-two MDCT scale signRostislav Pehlivanov2017-07-12
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_celt: normalize using mdct scaleRostislav Pehlivanov2017-07-11
| | | | | | Removes a per-sample divide in the IIR filter deemphasis filter. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* mdct15: remove redundant scale argument to imdct_halfRostislav Pehlivanov2017-07-11
| | | | | | | The only use of that argument was for Opus downmixing which is very rare and better done after the mdcts. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* videotoolbox: fix crash when decoding interlaced video with new APIwm42017-07-11
|
* avcodec/rdft: remove sintableMuhammad Faiz2017-07-11
| | | | | | | | | | | It is redundant with costable. The first half of sintable is identical with the second half of costable. The second half of sintable is negative value of the first half of sintable. The computation is changed to handle sign of sin values, in C code and ARM assembly code. Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* opus_rc: fix encoder desyncs on very low bitratesRostislav Pehlivanov2017-07-10
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opusenc: don't set avctx->cutoffRostislav Pehlivanov2017-07-10
| | | | | | | Its only use is to adjust the aac psychoacoustic/filter system which isn't used here. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opustab: comment ff_celt_tf_selectRostislav Pehlivanov2017-07-10
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_celt: move postfilter taps table to the shared opustab.c fileRostislav Pehlivanov2017-07-10
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* rtspdec: Fix return errorDerek Buitenhuis2017-07-10
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Mainwm42017-07-10
| | | | | | This mode apparently does not support decoding of HEVC Main (8 bit). With D3D11 and Intel drivers on Windows 10 I get green corruption, while using DXVA2_ModeHEVC_VLD_Main works.
* avcodec/magicyuv: add 12 bit formatsPaul B Mahol2017-07-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/magicyuv: make RLE table reading match referencePaul B Mahol2017-07-10
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/avio: Remove no-op code in url_find_protocol().Wan-Teh Chang2017-07-10
| | | | | | | | | | | | | In url_find_protocol(), proto_str is either "file" or a string consisting of only the characters in URL_SCHEME_CHARS, which does not include ','. Therefore the strchr(proto_str, ',') call always returns NULL. Note: The code was added in commit 6161c41817f6e53abb3021d67ca0f19def682718. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avcodec/noise_bsf: add support for dropping packetsMarton Balint2017-07-09
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/ylc: Fix vlc of 31 bitsMichael Niedermayer2017-07-08
| | | | | | | | | Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 2515/clusterfuzz-testcase-minimized-6197200012967936 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>
* avcodec/sbrdsp_fixed: Fix integer overflow in sbr_hf_apply_noise()Michael Niedermayer2017-07-08
| | | | | | | | Fixes: runtime error: signed integer overflow: -2049425300 + -117591631 cannot be represented in type 'int' Fixes: part of 2096/clusterfuzz-testcase-minimized-4901566068817920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>