aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavc/libdavs2: Cosmetics: Fix indentation for switch statementJun Zhao2019-01-041-17/+17
| | | | | | | Cosmetics: Fix indentation for switch statement like the Linux kerenl style. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* doc/ffmpeg: clarify behaviour of -discardGyan Doshi2019-01-041-2/+4
| | | | | Discarding all frames is universally supported as it happens in fftools whereas selective discarding relies on the demuxer.
* doc/ffmpeg: update entry for stream disable optionsGyan Doshi2019-01-041-8/+28
| | | | -vn/-an/-sn/-dn can now be used to block input streams from a file.
* avformat/hlsenc: free variant streams after write all variant streams infoSteven Liu2019-01-041-17/+31
| | | | | | fix ticket: 7631 Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/fft_template: improve performance of the ff_fft_init in fft_templateSteven Liu2019-01-041-11/+35
| | | | | | | | | | Before patch: init nbits = 17, get 10000 samples, average cost: 16175 us After patch: init nbits = 17, get 10000 samples, average cost: 14989 us Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* fate: add tests/fate/hlsenc.mak for hls FATESteven Liu2019-01-042-0/+44
| | | | | | | | | | init add three test examples: 1. check no endlist at the end 2. check endlist at the end 3. check hls_list_size 0 full list Tested-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* x86/af_afir: use three operand form forat some instructionsJames Almer2019-01-031-10/+10
| | | | | | Fixes compilation with old yasm versions. Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.SManoj Gupta2019-01-031-8/+12
| | | | | | | | | | | | | | | | | | Some of the assembly functions e.g. ff_h264_idct_dc_add_neon has code like: movrel x14, X(ff_h264_idct_add_neon) Linker cannot resolve them fully at link time and emits dynamic relocations. Use explicit labels instead so that no dynamic relocations are needed at all. This avoids lld complains about text relocations. For background, see https://crbug.com/917919 Signed-off-by: Manoj Gupta <manojgupta@chromium.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/dshow: Fixed some minor memory leaksOliver Collyer2019-01-032-4/+22
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* x86/af_afir: add ff_fcmul_add_avx()James Almer2019-01-032-1/+12
| | | | | | | | | | | fcmul_add_c: 1228.8 fcmul_add_sse3: 334.3 fcmul_add_avx: 186.3 Tested on a Core i5 4460 @ 3.2GHz Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: add an af_afir testJames Almer2019-01-035-0/+89
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_afir: split off fcmul_add into a DSP contextJames Almer2019-01-033-9/+20
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* x86/af_afir: fix processing the last elementJames Almer2019-01-031-2/+5
| | | | | | | ff_fcmul_add_sse3() is now identical to the C version. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: allow disabling streams by type for inputsGyan Doshi2019-01-031-0/+7
| | | | | | -vn/-an/-sn/-dn now works for input. Streams are still registered in input_streams but they can't be automatically selected or mapped or filtered.
* ffmpeg: skip disabled streamsGyan Doshi2019-01-022-2/+36
| | | | | | | | Fully discarded streams can't be selected for output or mapped or filtered. Previously, a few packets from such streams, probably buffered for stream probing, would get smuggled into output files. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* mov: Remove duration-of-last-frame heuristic hackDerek Buitenhuis2019-01-021-6/+0
| | | | | | | | | | | | | | | This breaks totally valid files that get caught in its heuristic. This, according to the commit message, is my own doing, having asked Michael to implement this check and providing a sample that was "wrong". I am now atoning for my sins, and removing this hack, having seen the light (aka that this was silly to do in the first place). Resotores correct behavior on valid files. This reverts commit 8e5e84c2a2a21a979b48e80c5a8dd44754ab3f21. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avformat/anm: use ff_get_extradata()Paul B Mahol2019-01-021-6/+1
|
* avformat/yop: use ff_get_extradata()Paul B Mahol2019-01-021-7/+3
|
* avformat/acm: use ff_get_extradata()Paul B Mahol2019-01-021-6/+3
|
* aformat/bfi: use ff_get_extradata()Paul B Mahol2019-01-021-7/+4
|
* avfilter/vf_detelecine: fix obvious frame memory leaksPaul B Mahol2019-01-021-0/+2
|
* avcodec/bfi: Provide non NULL context to av_log()Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bink: Provide non NULL context to av_log()Michael Niedermayer2019-01-011-7/+7
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mss2: Provide non NULL context to av_log()Michael Niedermayer2019-01-011-3/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/imc: Provide non NULL context to av_log()Michael Niedermayer2019-01-011-1/+5
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacdec_fixed: Provide context to av_log()Michael Niedermayer2019-01-013-5/+5
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/acelp_pitch_delay: Minor simplification by using ff_exp10()Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_biquads: minor simplification by using ff_exp10()Michael Niedermayer2019-01-011-1/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_crossfeed: Use ff_exp10()Michael Niedermayer2019-01-011-1/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/ebur128: Simplify by using log10()Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_tonemap_opencl: Make static tables constMichael Niedermayer2019-01-011-2/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/indevs: fix upto typoMichael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/eacmv: Return more specific error codes and forward error codesMichael Niedermayer2019-01-011-3/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/eatqi: Return more specific error code from tqi_decode_mb()Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dcaenc: Return specific error code from subband_bufer_alloc()Michael Niedermayer2019-01-011-3/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/dct: Propagate error code from ff_rdft_init()Michael Niedermayer2019-01-011-2/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/binkaudio: Use assert instead of return for use of compile time ↵Michael Niedermayer2019-01-011-1/+1
| | | | | | | disabled codecs Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/adpcm: use assert for codec id instead or error returnMichael Niedermayer2019-01-011-1/+1
| | | | | | | A unsupported codec_id is a internal error and should not happen Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/alac: Avoid unspecific error codes and forward error codesMichael Niedermayer2019-01-011-5/+5
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavcodec/ac3dec.c: Avoid unspecific -1 error codeMichael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ac3enc: Use specific error code in validate_float_option()Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/assenc: Return more specific error codes for ass_encode_frame()Michael Niedermayer2019-01-011-2/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/asvenc: Replace bitstream space check by assertMichael Niedermayer2019-01-011-4/+1
| | | | | | | This should never be untrue, if it is, thats a bug Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/avpacket: Avoid unspecific return -1 for av_grow_packet()Michael Niedermayer2019-01-011-2/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bitstream: Return specific error codes when building vlc tablesMichael Niedermayer2019-01-011-3/+3
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/aacps: Return more specific error codes.Michael Niedermayer2019-01-011-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* swscale/yuv2rgb: Return a more specific error code from ↵Michael Niedermayer2019-01-011-1/+1
| | | | | | | ff_yuv2rgb_c_init_tables() Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/4xm: Fix returned error codesMichael Niedermayer2019-01-011-2/+2
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: bump yearJames Almer2019-01-011-1/+1
| | | | Happy new year!
* avfilter/af_adelay: allow setting delays in secondsPaul B Mahol2019-01-012-2/+4
|