master
Commits on Sep 15, 2020
-
avfilter/f_interleave: fix some issues with interleaving
richardpl committedSep 15, 2020 -
avcodec/decode: use a packet list to store packet properties
Keeping only the latest packet fed to the decoder works only for decoders that return a frame immediately after every consumed packet. Decoders that consume several packets before they return a frame will fill said frame with properties taken from the last consumed packet instead of the earliest. Signed-off-by: James Almer <jamrial@gmail.com>
jamrial committedSep 15, 2020 -
avcodec/packet: move AVPacketList definition and function helpers ove…
…r from libavformat And replace the flags parameter with a function callback that can be used to copy the contents of the packet (e.g, av_packet_ref and av_packet_copy_props). Signed-off-by: James Almer <jamrial@gmail.com>
jamrial committedSep 15, 2020 -
avfilter/x86/vf_convolution_init: there is asm only for 8bit depth
richardpl committedSep 15, 2020
Commits on Sep 14, 2020
-
avfilter/avf_concat: check for possible integer overflow
Also check that segment delta pts is always bigger than input pts. There is nothing much currently that can be done to recover from this situation so just return AVERROR_INVALIDDATA error code.
richardpl committedSep 14, 2020 -
avfilter/af_amix: do not leave unset PTS for frames after first strea…
…m is over First stream is used only to get number of samples to put into each output frame.
richardpl committedSep 14, 2020 -
avcodec/cfhdenc: Fix leaks on allocation errors
The CineForm HD encoder attempts to allocate several buffers in its init function; yet if only some of these allocations succeed, the successfully allocated buffers leak. This is fixed by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
mkver committedSep 14, 2020 -
avcodec/snowdec: Use ff_snow_common_init() directly
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
mkver committedSep 14, 2020 -
avfilter/vf_premultiply: add missing AV_PIX_FMT_YUVA444P12
query_formats says its supported, but is missing from switch statement leading to segfault
-
avformat: add Argonaut Games BRP demuxer
Used in FMVs for FX Fighter and Croc. Supports BVID and BASF streams, requests samples for anything else. Due to the way BASF streams are contained in the file, only one is supported. I have yet to see a BRP file with multiple. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
vs49688 committedSep 14, 2020 Verified
This commit was signed with a verified signature.vs49688 Zane van Iperen
GPG key ID: 68616B2D8AC4DCC5 Learn about signing commits -
avformat/argo_asf: add ASF_MIN_BUFFER_SIZE #define
For future use by the argo_brp demuxer Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
vs49688 committedSep 14, 2020 Verified
This commit was signed with a verified signature.vs49688 Zane van Iperen
GPG key ID: 68616B2D8AC4DCC5 Learn about signing commits -
avformat/argo_asf: split functionality into a header
For future use by the argo_brp demuxer. Adds: - void ff_argo_asf_parse_file_header(ArgoASFFileHeader *hdr, const uint8_t *buf); - int ff_argo_asf_validate_file_header(AVFormatContext *s, const ArgoASFFileHeader *hdr); - void ff_argo_asf_parse_chunk_header(ArgoASFChunkHeader *hdr, const uint8_t *buf); - int ff_argo_asf_fill_stream(AVStream *st, const ArgoASFChunkHeader *ckhdr); Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
vs49688 committedSep 14, 2020 Verified
This commit was signed with a verified signature.vs49688 Zane van Iperen
GPG key ID: 68616B2D8AC4DCC5 Learn about signing commits -
avformat/argo_asf: bail if invalid tag
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
vs49688 committedSep 14, 2020 Verified
This commit was signed with a verified signature.vs49688 Zane van Iperen
GPG key ID: 68616B2D8AC4DCC5 Learn about signing commits
Commits on Sep 13, 2020
-
avdevice/decklink_dec: add support for querying RP188 High Frame Rate…
… timecode Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avdevice/decklink_dec: add support for rgb/yuv pixel format autodetec…
…tion Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avdevice/decklink_dec: use decklink_ctx->raw_format as bmdPixelFormat
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avdevice/decklink_common.h: remove unsupported decklink version ifdef
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avformat: use av_timecode_make_smpte_tc_string2
WSD format has no frames stored for playback time. Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avfilter/vf_showinfo: use av_timecode_make_smpte_tc_string2
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avcodec: use av_timecode_make_smpte_tc_string2 in hevc and h264 decoder
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
fftools/ffprobe: use av_timecode_make_smpte_tc_string2
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avutil/timecode: add av_timecode_make_smpte_tc_string2
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avutil/timecode: do not trash bits on invalid av_timecode_get_smpte a…
…rguments The function has no way to return error, so let's clip or calculate modulo. Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avutil/timecode: cosmetics on av_timecode_get_smpte
Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avutil/timecode: fix av_timecode_get_smpte_from_framenum with 50/60 fps
SMPTE 12M timecode can only count frames up to 39, because the tens-of-frames value is stored in 2 bit. In order to resolve this 50/60 fps SMPTE timecode is using the field bit (which is the same bit as the phase correction bit) to signal the least significant bit of a 50/60 fps timecode. See SMPTE ST 12-1:2014 section 12.1. Therefore we slightly change the format of the return value of av_timecode_get_smpte_from_framenum and AV_FRAME_DATA_S12M_TIMECODE and start using the previously unused Phase Correction bit as Field bit. (As the SMPTE standard suggests) We add 50/60 fps support to av_timecode_get_smpte_from_framenum by calling the recently added av_timecode_get_smpte function in it which already handles this properly. This change affects the decklink indev and the DV and MXF muxers. MXF has no fate test for 50/60fps content, DV does, therefore the changes. MediaInfo (a recent version) confirms that half-frame timecode must be inserted to DV. MXFInspect confirms valid timecode insertion to the System Item of MXF files. For MXF, also see EBU R122. Note that for DV the field flag is not used because in the HDV specs (SMPTE 370M) it is still defined as biphase mark polarity correction flag. So it should not matter that the DV muxer overrides the field bit. Signed-off-by: Marton Balint <cus@passwd.hu>
cus committedSep 13, 2020 -
avformat: add Square SVS demuxer
richardpl committedSep 13, 2020 -
avformat/moflex: make seeking more useful
richardpl committedSep 13, 2020 -
avcodec/mobiclip: add missing flush
richardpl committedSep 13, 2020 -
avformat/flic: add support for seeking to start
richardpl committedSep 13, 2020 -
avcodec/cdgraphics: fix decoded output when seeking to start of file
Also in cdg demuxer do not skip packets data, and remove private context which is not really needed.
richardpl committedSep 13, 2020 -
avfilter/asrc_anullsrc: actually return correct EOF pts
richardpl committedSep 13, 2020 -
avfilter/asrc_anullsrc: give better limits to number of samples per f…
…rame
richardpl committedSep 13, 2020 -
avfilter/asrc_anullsrc: make number of output samples match duration
richardpl committedSep 13, 2020 -
avformat/cdg: Fix integer overflow in duration computation
Fixes: signed integer overflow: 8398407 * 300 cannot be represented in type 'int' Fixes: 23914/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4702539290509312 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer committedSep 13, 2020 -
tools:target_dem_fuzzer: Split into a fuzzer fuzzing at the protocol …
…level and one fuzzing a fixed demuxer input This should improve coverage and should improve the efficiency of seed files Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer committedSep 13, 2020

