summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lavf/network: check return value of setsockopt.Jun Zhao2018-08-181-2/+5
| | | | Signed-off-by: Jun Zhao <[email protected]>
* lavf/network: add a ff_log_net_error function.Jun Zhao2018-08-182-0/+9
| | | | | | add a ff_log_net_error function for error log. Signed-off-by: Jun Zhao <[email protected]>
* avformat/rmdec: Fix EOF check in the stream loop in ivr_read_header()Michael Niedermayer2018-08-171-0/+2
| | | | | | | | | Fixes: long running loop Fixes: ivr-timeout-42468cb797f52f025fb329394702f5d4d64322d6 Found-by: Paul Ch <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/mlvdec: read_string() received unsigned size, make the argument ↵Michael Niedermayer2018-08-171-1/+1
| | | | | | | | | | | unsigned Fixes: infinite loop Fixes: mlv-timeout-e3b8cab9835edecad6823baa057e029671329d04 Found-by: Paul Ch <[email protected]> Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/av1: filter out tile list OBUs from samplesJames Almer2018-08-172-1/+2
| | | | | | As per the updated spec. Signed-off-by: James Almer <[email protected]>
* avformat: bump micro version after previous changesJames Almer2018-08-171-1/+1
| | | | Signed-off-by: James Almer <[email protected]>
* Revert "avcodec/libaomdec: auto insert dump_extra bitstream filter"James Almer2018-08-172-2/+0
| | | | | | | This reverts commit e45ed15594a2553056a577177591fbe55694af44. The Matroska spec was updated to not remove Sequence Header OBUs from key frames, so this is no longer needed.
* avformat/av1: update ff_isom_write_av1c() to the latest revision of the specJames Almer2018-08-174-13/+259
| | | | | | | | | | This will get ISOBMFF and Matroska up to date with the revised AV1 Codec Configuration Box spec. For now keep propagating raw OBUs as extradata until all libavcodec modules are adapted to handle AV1CodecConfigurationRecord formatted extradata. Tested-by: Thomas Daede <[email protected]> Signed-off-by: James Almer <[email protected]>
* avcodec/av1_parse: take trailing bits into account when initializing the ↵James Almer2018-08-172-10/+53
| | | | | | | | | | GetBitContext Also only initialize it in ff_av1_packet_split() and not ff_av1_extract_obu(), same as h2645_parse, so GetBitContext specific failures may not affect the latter. Signed-off-by: James Almer <[email protected]>
* h264: Support multi-field closed captions by using AVBufferRef and not ↵Kieran Kunhya2018-08-174-19/+26
| | | | | | resetting per field Signed-off-by: Josh de Kock <[email protected]>
* avcodec/decode: copy the output parameters from the last bsf in the chain ↵James Almer2018-08-161-0/+4
| | | | | | | | | back to the AVCodecContext Certain AVCodecParameters, like the contents of the extradata, may be changed by the init() function of any of the bitstream filters in the chain. Signed-off-by: James Almer <[email protected]>
* avcodec/decode: flush the internal bsfs instead of constantly reinitalizing themJames Almer2018-08-163-10/+19
| | | | | | | Initialize the bsfs once when opening the codec and uninitialize them once when closing it, instead of at every codec flush/seek. Signed-off-by: James Almer <[email protected]>
* avcodec/h264_redundant_pps_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-161-0/+9
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/mpeg4_unpack_bframes_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-161-0/+7
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/vp9_superframe_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-161-0/+12
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/vp9_superframe_split_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-161-10/+29
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/h264_mp4toannexb_bsf: implement a AVBSFContext.flush() callbackJames Almer2018-08-161-0/+10
| | | | Signed-off-by: James Almer <[email protected]>
* avcodec/bsf: add a flushing mechanism to AVBSFContextJames Almer2018-08-164-2/+21
| | | | | | Meant to reset the internal bsf state without the need to reinitialize it. Signed-off-by: James Almer <[email protected]>
* lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h full"Jun Zhao2018-08-161-1/+1
| | | | | | | fix can't dispaly "slice" sub-option in "ffmpeg -h full" for AVFilter options. Signed-off-by: Jun Zhao <[email protected]>
* avcodec/frame_thread_encoder: fix memory leak that occurs when close ↵lee ju2018-08-161-0/+17
| | | | | | encoder without sending eof and receiving to end Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/scpr: Check for min > max in decompress_p()Michael Niedermayer2018-08-161-0/+3
| | | | | | | | Fixes: Timeout Fixes: 9342/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-4795990841229312 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/shorten: Fix signed 32bit overflow in shift in shorten_decode_frame()Michael Niedermayer2018-08-161-1/+1
| | | | | | | | Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int' Fixes: 9480/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-6647324284551168 -rss_limit_mb=2000 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/shorten: Fix integer overflow in residual/LPC combinationMichael Niedermayer2018-08-161-1/+1
| | | | | | | | Fixes: signed integer overflow: -540538872 + -2012739576 cannot be represented in type 'int' Fixes: 9255/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5758630052757504 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/shorten: Check verbatim lengthMichael Niedermayer2018-08-161-0/+5
| | | | | | | | Fixes: Timeout Fixes: 9252/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5780720709533696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/vf_hue: 10bit supportMichael Niedermayer2018-08-161-11/+92
| | | | | | Tested-by: Tobias Rapp <[email protected]> Tested-by: Reto Kromer <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* doc/filters: Add entry for sr filter.Sergey Lavrushkin2018-08-151-0/+59
| | | | Signed-off-by: Gyan Doshi <[email protected]>
* avutil/encryption_info: Fix size calculation.Jacob Trimble2018-08-151-3/+3
| | | | | | | Found by Chrome's ClusterFuzz: https://crbug.com/873693 Signed-off-by: Jacob Trimble <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* lavfi/vf_colorconstancy: cosmetic updateMina2018-08-141-7/+7
|
* lavfi/vf_colorconstancy: change option rangesMina2018-08-142-6/+6
|
* libavfilter: Adds proper file descriptions to dnn_srcnn.h and dnn_espcn.h.Sergey Lavrushkin2018-08-142-2/+4
| | | | Signed-off-by: Pedro Arthur <[email protected]>
* libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.Sergey Lavrushkin2018-08-141-86/+48
| | | | Signed-off-by: Pedro Arthur <[email protected]>
* libavfilter/dnn_backend_tf.c: Fixes ff_dnn_free_model_tf.Sergey Lavrushkin2018-08-141-1/+3
| | | | Signed-off-by: Pedro Arthur <[email protected]>
* lavc/videotoolboxenc: Fix compilation on osx 10.10.5 YosemiteThilo Borgmann2018-08-141-1/+1
| | | | Signed-off-by: Aman Gupta <[email protected]>
* avformat: correct fdebug loglevelGyan Doshi2018-08-143-8/+8
| | | | | fftools/cmdutils sets loglevel for fdebug to DEBUG but all fdebug output except for two were emitted at TRACE.
* libswscale: Adds conversions from/to float gray format.Sergey Lavrushkin2018-08-1419-4/+248
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* libavformat/dashdec: Support negative value of the @r attrbute of S in ↵sanil2018-08-131-1/+12
| | | | | | | | | | SegmentTimeline element. The following patch supports parsing negative value of the @r attribute of S in SegmentTimeline element. Example streams: 1. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/1/MultiRate.mpd 2. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/2/MultiRate.mpd
* lavfi: add erosion_opencl, dilation_opencl filtersDanil Iashchenko2018-08-126-0/+414
| | | | Add erosion_opencl, dilation_opencl filters. Behave like existing erosion and dilation filters.
* avcodec/mpegaudio_parser: Initialize poutbuf*Michael Niedermayer2018-08-121-0/+2
| | | | | | | | | | Possibly fixes: null pointer dereference Possibly fixes: 9352/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5146068961460224 Fixes: Heap-use-after-free Fixes: 9453/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5137954375729152 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/ivi: Factor width dereference out of the loops in ivi_output_plane()Michael Niedermayer2018-08-121-2/+3
| | | | | | 396078 -> 268468 dezicycles Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/ivi: Only clip samples when needed in ivi_output_plane()Michael Niedermayer2018-08-121-2/+9
| | | | | | 435740 -> 396078 dezicycles Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/indeo5: require initial valid intra/gop headers not just laterMichael Niedermayer2018-08-121-0/+2
| | | | | | | | Fixes: Timeout Fixes: 9308/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5284853581873152 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/microdvddec: limit style characters in parsingMichael Niedermayer2018-08-121-1/+1
| | | | | | | | Fixes: Timeout Fixes: 9293/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MICRODVD_fuzzer-5643972541153280 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* libavutil: Adds gray floating-point pixel formats.Sergey Lavrushkin2018-08-114-2/+32
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* lavf/mov.c: Set start_time for all streams (in case of edit lists).Sasi Inguva2018-08-113-2/+10
| | | | | | | | | Fixes vorbis mp4 audio files, with edit list specified. Since st->skip_samples is not set in case of vorbis , ffmpeg computes the start_time as negative. Signed-off-by: Sasi Inguva <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* lavfi/vf_libvmaf: update to use libvmaf v1.3.9Kyle Swanson2018-08-103-3/+19
| | | | Signed-off-by: Kyle Swanson <[email protected]>
* lavc/hevcdec: add ONLY_IF_THREADS_ENABLED where it is missing.Jun Zhao2018-08-101-2/+6
| | | | | | | add ONLY_IF_THREADS_ENABLED where it is missing. Signed-off-by: Jun Zhao <[email protected]> Reviewed-by: James Almer <[email protected]>
* lavfi/selectivecolor: fix neutral color filteringClément Bœsch2018-08-091-1/+1
| | | | | | | | | | Neutrals are supposed to be anything not black (0,0,0) and not white (N,N,N). Previous neutral filtering code was too strict by excluding colors with any of its RGB component maxed instead of just the white color. Reported-by: Royi Avital <[email protected]>
* lavfi/xbr: update filter urlMina2018-08-092-2/+2
| | | | | | | | Existing link is broken. This patch updates the existing url with a working one. Signed-off-by: Mina <[email protected]> Signed-off-by: Gyan Doshi <[email protected]>
* lavf/mov: Force HEVC codec_id for code-point dvh1 and an hvcC atom.Carl Eugen Hoyos2018-08-091-0/+2
| | | | | | | The mp4 registration authority accepted a code-point for Dolby Vision HEVC that was already used as a fourcc for DVCPRO 100. Fixes ticket #7347.
* libavformat/dashdec: Fix for un-free memoryColin NG2018-08-081-1/+0
| | | | Fixes ticket #7338.