aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* opustab: comment ff_celt_tf_selectRostislav Pehlivanov2017-07-101-4/+9
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* opus_celt: move postfilter taps table to the shared opustab.c fileRostislav Pehlivanov2017-07-103-8/+11
| | | | Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
* rtspdec: Fix return errorDerek Buitenhuis2017-07-101-1/+0
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* dxva: DXVA2_ModeHEVC_VLD_Main10 does not support Mainwm42017-07-101-2/+1
| | | | | | 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-103-19/+88
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avcodec/magicyuv: make RLE table reading match referencePaul B Mahol2017-07-101-3/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat/avio: Remove no-op code in url_find_protocol().Wan-Teh Chang2017-07-101-2/+0
| | | | | | | | | | | | | 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-093-4/+20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/ylc: Fix vlc of 31 bitsMichael Niedermayer2017-07-081-1/+1
| | | | | | | | | 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-081-2/+2
| | | | | | | | 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>
* libswresample: check input to swr_convert_frame for NULLhexpointer2017-07-081-3/+4
| | | | | | | | | When 'out' is an AVFrame that does not have buffers preallocated, swr_convert_frame tries to allocate buffers of the right size. However in calculating this size it failed to check for whether 'in' is NULL (requesting that swr's internal buffers are to be flushed). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add limiter filterPaul B Mahol2017-07-0810-1/+415
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* bitstream_filter: Add missing error checkDerek Buitenhuis2017-07-071-0/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* af_amix: Add missing error checkDerek Buitenhuis2017-07-071-0/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* rtmpproto: Fix error returnDerek Buitenhuis2017-07-071-1/+1
| | | | | | Mistake was added in 5840473890440dbe0bd2cce530ebb3d93e187ae6. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cngenc: Remove dead storeDerek Buitenhuis2017-07-071-1/+1
| | | | | | | ff_lpc_calc_ref_coeffs returns the order it is given and cannot return in error. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* ffmpeg_opt: Make get_timecode actually return errorsDerek Buitenhuis2017-07-071-1/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* opusdec: Remove dead codeDerek Buitenhuis2017-07-071-8/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* scpr: Added missing error checkDerek Buitenhuis2017-07-071-0/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* af_tempo: Add missing error checkDerek Buitenhuis2017-07-071-0/+2
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* bitpacked: Remove dead storeDerek Buitenhuis2017-07-071-4/+0
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat: remove obsolete commented-out DEBUG defineTobias Rapp2017-07-072-4/+0
| | | | | Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libavcodec/htmlsubtitles.c: make tags case-insensitiveDongHoon Kang2017-07-071-8/+8
| | | | | Signed-off-by: DongHoon Kang <nanuda.kang@gmail.com> Signed-off-by: Clément Bœsch <u@pkh.me>
* avcodec/fft_template: use ff_thread_once on costable initializationMuhammad Faiz2017-07-071-10/+71
| | | | | | | | Make it thread-safe and avoid redundant initialization. Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* avformat/hlsenc: Add missing error checkDerek Buitenhuis2017-07-071-0/+2
| | | | | Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat/hlsenc: add warn message when use both fmp4 and single_fileSteven Liu2017-07-071-0/+5
| | | | | | | have not implementation the fmp4 single file yet before this commit. Suggested-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Steven Liu <lq@onvideo.cn>
* ffmpeg: Fix typos in the comment for decode() ("." vs. "->")Wan-Teh Chang2017-07-071-2/+2
| | | | | | | | pkt is a pointer, so it should be dereferenced with the -> operator. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* h264dec: remove unneeded prototypeRafaël Carré2017-07-071-2/+0
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mpegtsenc: Don't pass NULL to memcpyDerek Buitenhuis2017-07-061-0/+4
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: require pkg-config for libvorbisRicardo Constantino2017-07-061-1/+2
| | | | | | | | | | | | | libvorbis comes with pkg-config files since at least v1.0.1, way back in 2003. We need the two checks for vorbis and vorbisenc because we use functions from both and Xiph considers them separate libraries. The check is inverted (vorbis first then vorbisenc) because add_extralibs() prepends to EXTRALIBS instead of appending. For both shared and static linking the order didn't seem to matter anyway, testing with MinGW. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* concatdec: Do not pass NULL to memcmpDerek Buitenhuis2017-07-061-1/+1
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* htmlsubtitles: support <br> tagwm42017-07-061-0/+2
| | | | | | | Some .srt files use this tag. (An alternative implementation would be correctly ignoring unknown tags, and treating them as whitespace. libass can do automatic line wrapping.)
* avcodec/interplayvideo: Clean up frames on parameter changeMichael Niedermayer2017-07-061-0/+14
| | | | | | | | Fixes: out of array access Fixes: 2467/clusterfuzz-testcase-minimized-4755798049685504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavformat/gdv: Fix parsing for soundless videoAzamat H. Hackimov2017-07-051-0/+2
| | | | | | | Added 2 byte skipping if there no sound present, that fixes playback files without sound stream. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* movenc: allow alternative hvc1 h.265 codec tagJohn Stebbins2017-07-051-0/+1
| | | | | | | | If AVCodecParameters.codec_tag is 'hvc1' use it instead of 'hev1' for h.265 streams. QuickTime (and other Apple software) requires 'hvc1'. (cherry picked from commit 84ab1cc437fa47a00532f305b9fe15b5b66c8c5e) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* movenc: write correct format hvcc when tag is hvc1John Stebbins2017-07-051-1/+4
| | | | | (cherry picked from commit 1ea9b7fdf99b60c0db95a2ce97b2108469bbb245) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* movenc: move tags definitions to where they are usedJohn Stebbins2017-07-051-31/+31
| | | | | (cherry picked from commit 1c64bae648eeb39c8d8a8d81ee142b9eec9fae7b) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* movenc: simplify codec_tag lookupJohn Stebbins2017-07-051-53/+15
| | | | | | | | | | | mux.c init_muxer() already sets codec_tag correctly in the cases simplified here. This also adds the capability to support alternative tags for the same codec_id. (cherry picked from commit f6f86f432fe51526a7aad2bdb025d6a45d239883) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* fate: add fate-checkasm-sbrdsp targetJames Almer2017-07-051-0/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* Revert "x86/sbrdsp: remove unnecessary sign extend instruction in ↵James Almer2017-07-051-1/+2
| | | | | | | | | | apply_noise_main" This reverts commit 24bb7db4037876c5722b0eecf7412502e7225634. noise has to after all be sign extended, not zero extended, on tests other than checkasm. Fixes most aac tests broken by the now reverted commit.
* avformat/hlsenc: copy codec_tag when stream copySteven Liu2017-07-051-0/+8
| | | | | | | | | | | | | when use fmp4 segment type in hls and use codec copy, there have an error message. error message: [mp4 @ 0x25df020] Tag avc1 incompatible with output codec id '28' ([33][0][0][0]) [hls @ 0x2615c80] Some of the provided format options in '(null)' are not recognized Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument this patch can fix it. Signed-off-by: Liu Qi <w_liuqi@kingsoft.com> Signed-off-by: Steven Liu <lq@onvideo.cn>
* avformat/hlsenc: optimize help message default value.Steven Liu2017-07-051-2/+2
| | | | | | show the hls_segment_type default always 0, show the flag name better Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/hevcdec: do not let updated extradata corrupt stateMichael Niedermayer2017-07-051-4/+4
| | | | | | | | | Fixes: out of array access Fixes: 2451/clusterfuzz-testcase-minimized-4781613957251072 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* x86/sbrdsp: remove unnecessary sign extend instruction in apply_noise_mainJames Almer2017-07-041-2/+1
| | | | | | | noise needs to be zero extended and it can be done implicitly as a side effect in a subsequent instruction. Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: use declare_func_float() in sbrdsp sum_square testJames Almer2017-07-041-1/+1
| | | | | | | | The function returns a float. This fixes the test in x86_32 targets. Signed-off-by: James Almer <jamrial@gmail.com>
* x86/sbrdsp: zero extend m_max in apply_noise_mainJames Almer2017-07-041-14/+14
| | | | | Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/utvideodsp: make restore_rgb_planes functions work on x86_32James Almer2017-07-042-7/+15
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/wavpack: Fix invalid shiftMichael Niedermayer2017-07-051-2/+2
| | | | | | | | Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 2377/clusterfuzz-testcase-minimized-6108505935183872 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/h264_slice: Fix signed integer overflowMichael Niedermayer2017-07-051-1/+1
| | | | | | | | Fixes: runtime error: signed integer overflow: 26 + 2147483644 cannot be represented in type 'int' Fixes: 2456/clusterfuzz-testcase-minimized-4822695051001856 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* movenc: use correct tag list for AVOutputFormat.codec_tagJohn Stebbins2017-07-041-3/+39
| | | | | | | | | | | | | | ff_mp4_obj_type contains the wrong type of tags for AVOutputFormat.codec_tag. AVOutputFormat.codec_tag is used to validate AVCodecParameters.codec_tag so needs to be the same type of tag. Creates new tag lists for mp4 and ismv. New tag lists support same list of codecs found in ff_mp4_obj_type. psp uses the same tag list as mp4 since these both use mp4_get_codec_tag to look up tags. (cherry picked from commit 713efb2c0d013a42be4051adb7cd90a7c2cbbb4f) Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>