summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avformat/udp: use factorized ip functionsMarton Balint2018-10-03
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/ip: factorize some IP filtering and resolving functions to a new fileMarton Balint2018-10-03
| | | | | | These are based on the very similar UDP and RTP protocol functions. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/af_afir: make IR gain control more flexiblePaul B Mahol2018-10-03
| | | | For this reason introduce two more options.
* avfilter/avfilter: fix typos in commentsPaul B Mahol2018-10-03
|
* avcodec/rasc: unref both frames on reinitMichael Niedermayer2018-10-03
| | | | | | | | | | Fixes: integer overflow Fixes: inconsistent frame dimensions Fixes: 10454/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-5656301162463232 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/rasc: Fix off by 1 error in vertical coordinateMichael Niedermayer2018-10-03
| | | | | | | | | Fixes: out of array read Fixes: 10311/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-4856330905452544 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/tiff: check remaining packet size for stripsMichael Niedermayer2018-10-03
| | | | | | | | | Fixes: Timeout Fixes: 10280/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TIFF_fuzzer-5676217211027456 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>
* avformat/matroskaenc: reserve free space for metadata on requestSigga Regina2018-10-01
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/scpr: Skip frames which change nothingMichael Niedermayer2018-09-30
| | | | | | | | Fixes: Timeout Fixes: 10292/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-5687943864254464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/wcmv: Fix integer overflowsMichael Niedermayer2018-09-30
| | | | | | | | Fixes: signed integer overflow: 262140 * 65535 cannot be represented in type 'int' Fixes: 10090/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5691269368512512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Remove unused variableMichael Niedermayer2018-09-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* ffmpeg: break loop when dts_heuristic check donexiaofeng2018-09-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/decklink_dec: add option to align capture start timeKarthick Jeyapal2018-09-30
| | | | | | | | | This option is useful for maintaining input synchronization across N different hardware devices deployed for 'N-way' redundancy. The system time of different hardware devices should be synchronized with protocols such as NTP or PTP, before using this option. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/hevc_parser: very minor simplification in hevc_parse()Michael Niedermayer2018-09-30
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/hevc: Don't parse NAL unit for a dummy bufferHaihao Xiang2018-09-30
| | | | | | | | | | | | hevc parser mistakenly reports the following message if a dummy buffer is padded for EOF [hevc @ 0x559b63848610] missing picture in access unit Signed-off-by: Haihao Xiang <haihao.xiang@intel.com> Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Reviewed-by: "Li, Zhong" <zhong.li@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/libzvbi-teletextdec: add formatted ass outputMarton Balint2018-09-30
| | | | | | | Inspired by the VideoLAN text decoder and its port to FFmpeg made by Aman Gupta. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/diracdec: check that GetBitContext has not ended in codeblock()Michael Niedermayer2018-09-28
| | | | | | | Fixes: Timeout (part 2 of 2) Fixes: 9774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5748957085958144 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/diracdec: Propagate errors from codeblock()Michael Niedermayer2018-09-28
| | | | | | | | | Consider a component to be damaged if more than 50% of its subbands are damaged Fixes: Timeout (part 1 of 2) Fixes: 9774/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5748957085958144 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bintext: Use ff_get_buffer instead of ff_reget_buffer and simplifyMichael Niedermayer2018-09-28
| | | | | | reget seems unneeded and it is slower Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/bintext: Check input size before allocating the input imageMichael Niedermayer2018-09-28
| | | | | | | | Fixes: Timeout Fixes: 9795/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XBIN_fuzzer-5768631928487936 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Error out if we had insufficent input for the output frame in ↵Michael Niedermayer2018-09-28
| | | | | | | | | | decompress_2() Fixes: Timeout (with the previous commits to gdv.c) Fixes: 9422/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5143490001371136 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Optimize 2x scaling loop a little in gdv_decode_frame()Michael Niedermayer2018-09-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Replace loop in gdv_decode_frame() by memcpy()Michael Niedermayer2018-09-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Eliminate 50% of the reads in the first inner loop in rescale()Michael Niedermayer2018-09-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Simplify first inner loop in rescale()Michael Niedermayer2018-09-28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Combine first and 3rd case in rescale()Michael Niedermayer2018-09-28
| | | | | | Simplifies code Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Factor terms out of inner loops in rescale()Michael Niedermayer2018-09-28
| | | | | | This also replaces some loops by memcpy() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/gdv: Replace divisions by shifts in rescale()Michael Niedermayer2018-09-28
| | | | | | | Divisions tend to be slower than shifts unless the compiler optimizes them out. And some of these are in inner loops. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/mpeg: Support demuxing HEVC in mpeg-ps.Carl Eugen Hoyos2018-09-27
|
* lavc: Add AV1 metadata bitstream filterMark Thompson2018-09-26
| | | | Can adjust colour and timing information.
* lavc: Add coded bitstream read/write support for AV1Mark Thompson2018-09-26
|
* avfilter/af_afftdn: add missing breakPaul B Mahol2018-09-26
|
* avformat/matroskaenc: reindent after the previous commitJames Almer2018-09-26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: refactor checks for allowed codecs in WebMJames Almer2018-09-26
| | | | | | Use the new ff_webm_codec_tags[] array for this purpose. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: implement AVOutputFormat.query_codec for webmJames Almer2018-09-26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/matroskaenc: remove unnecessary additional codec tagsJames Almer2018-09-26
| | | | | | They are listed in riff.c already. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter: add audio denoising (afftdn) filterPaul B Mahol2018-09-25
|
* RELEASE: update for git after 4.0 branchpointMatthieu Bouron2018-09-25
|
* avfilter/vf_curves: add planar rgb supportPaul B Mahol2018-09-25
|
* avformat/utils: move mkdir_p to utilsSteven Liu2018-09-25
| | | | | | | Because it will be used by avformat/segment.c or other module which need to automatically create sub-directories operation. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avfilter/buffersink.h: fix comment typo of av_buffersink_get_samplesSteven Liu2018-09-25
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* vaapi_encode_h265: Add missing error returnMark Thompson2018-09-24
| | | | Fixes CID #1439657.
* lavc/h265_profile_level: Fix level guessing with no PTL structureMark Thompson2018-09-24
| | | | Fixes CID #1439661.
* lavc/h265_profile_level: Avoid integer overflow in bitrateMark Thompson2018-09-24
| | | | Fixes CIDs #1439659 and #1439660.
* h264_metadata: Avoid integer overflow in bitrateMark Thompson2018-09-24
| | | | Fixes CID #1439664.
* lavc/h264_levels: Avoid integer overflow in bitrateMark Thompson2018-09-24
| | | | Fixes CID #1439656.
* avformat/utils: set AV_PKT_FLAG_KEY for data packetsBaptiste Coudurier2018-09-24
|
* avformat/ivfenc: fix writing codec tagJames Almer2018-09-24
| | | | | | | | | The value in AVCodecParameters->codec_tag may not be correct for IVF, as it's the case when remuxing AV1 streams from mp4, so ignore it and write the correct value based on codec ID instead. Reviewed-by: Jan Ekström <jeebjp@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_threshold: add slice threadingPaul B Mahol2018-09-24
|
* avfilter/sr: process and output message when load_model is NULLSteven Liu2018-09-24
| | | | | | | | fix ticket: 7455 Reviewed-by: Pedro Arthur <bygrandao@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>