aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc/examples/hw_decode: re-licensed to MIT-license.Jun Zhao2018-08-251-13/+15
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* avcodec/prosumer: fix some minor issuesPaul B Mahol2018-08-241-9/+9
|
* avcodec: add Brooktree ProSumer Video decoderPaul B Mahol2018-08-248-2/+408
|
* avformat/movenc: implicitly enable negative CTS offsets for ismvJan Ekström2018-08-244-6/+8
| | | | | | | | | | | ISMV lacks any sort of edit list support, as well as tfxd is effectively the PTS of the fragment for most intents and purposes. Thus, if b-frames are requested without negative CTS offsets you end up with N frames' worth of delay (tfxd PTS plus the CTS offset of the first sample). Negative CTS offsets enable the first sample to have CTS=DTS, and thus a/v desync due to b-frame reorder delay is avoided.
* avformat/flvdec: don't propagate empty extradataJames Almer2018-08-241-0/+6
| | | | | | | Fixes ticket #7379 Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/movenc: support Opus packets with more than 60ms of audio when ↵James Almer2018-08-241-3/+3
| | | | | | | | | | writing the Sample Group Description Since libopus 1.2, packets of sizes 80ms, 100ms and 120ms are allowed. Fixes assertion failures when trying to mux such streams. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libopusenc: support encoding packets of sizes bigger than 60msJames Almer2018-08-241-5/+15
| | | | | | | Packets of sizes 80ms, 100ms and 120ms are allowed since libopus 1.2 Reviewed-by: Rostislav Pehlivanov <atomnuker@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavf/Makefile: Fix standalone compilation of the matroska and webm muxers.Carl Eugen Hoyos2018-08-241-2/+2
| | | | Reported-by: irc user Kam_
* avdevice/decklink_enc: print preroll and buffer sizeGyan Doshi2018-08-241-0/+3
| | | | Helpful in diagnosing latency issues.
* Revert "avcodec/opus_parser: Handle complete frames flag."James Almer2018-08-231-17/+12
| | | | | | | | This reverts commit 7e0df5910ec0f107cd0700d6b9359d29177f1933. "complete frames" containers, even if they don't need to assemble packets, still depended on this code for proper packet duration and timestamp generation.
* lavc/extract_extradata_bsf.c: add AVS2hwren2018-08-231-0/+2
| | | | | | Signed-off-by: hwren <hwrenx@126.com> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Correct opus-in-mp4 pre-skip to be uint16_t versus int16_t.Dale Curtis2018-08-231-1/+1
| | | | | | | | | This field is a uint16_t, see docs: http://opus-codec.org/docs/opus_in_isobmff.html#4.3.2 Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: do not add fsanitize cflags with ossfuzz if coverage is testedMichael Niedermayer2018-08-231-1/+1
| | | | | Found-by: Max Moroz Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/encode: remove redundant av_init_packet after av_packet_unref.Jun Zhao2018-08-231-4/+0
| | | | | | | remove redundant av_init_packet after av_packet_unref. av_packet_unref have call av_init_packet and reset the packet size. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavc/hevc_ps: fix crop info for monochromeZhao Zhili2018-08-223-4/+23
| | | | | | | The values of SubWidthC and SubHeightC are 1 in the ITU-T H.265. The current code use the value of 2. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/utils: avoid undefined integer overflow behavior in ↵Fredrik Hubinette2018-08-221-1/+1
| | | | | | update_stream_timings() Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: Allow saio/saiz in clear content.Jacob Trimble2018-08-221-0/+6
| | | | | | | | | | | | | | If there is a saio/saiz in clear content, we shouldn't create the encryption index if we don't already have one. Otherwise it will confuse the cenc_filter. The changed method is also used for senc atoms, but they should not appear in clear content. Found by Chromium's ClusterFuzz: https://crbug.com/873432 Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mxfenc: automatically update descriptors klv sizeBaptiste Coudurier2018-08-221-41/+39
|
* avformat/hls: support decryption AES128 fmp4 m3u8 listSteven Liu2018-08-221-0/+21
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* lavc/libkvazaar: fix incompatible pointer type.Jun Zhao2018-08-221-1/+1
| | | | | | | | | | | fix the waring: libavcodec/libkvazaar.c:210:27: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type [-Wincompatible-pointer-types] frame->data, frame->linesize, ^~~~~ In file included from libavcodec/libkvazaar.c:31:0: ./libavutil/imgutils.h:119:6: note: expected ‘const uint8_t ** {aka const unsigned char **}’ but argument is of type ‘uint8_t * const* {aka unsigned char * const*}’ void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4], Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavf/hlsenc: fix mixed declarations and code warning.Jun Zhao2018-08-221-1/+1
| | | | | | | fix the build warning for "ISO C90 forbids mixed declarations and code" Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* avcodec/psd : add support for gray floatMartin Vignali2018-08-221-0/+2
|
* swscale/swscale : small cosmeticMartin Vignali2018-08-221-2/+2
|
* swscale : treat float input data as uint 16bpcMartin Vignali2018-08-221-2/+8
| | | | | | | | | Currently float are converted to 16b uint in input part using src depth (32 bits) in hScale16To19 and hScale16to15, make an invalid shift for the data So shift the value when using float input like 16 bpc uint.
* lavc/qsvenc: add quality status to side_dataZhong Li2018-08-223-17/+24
| | | | | | | | Add fix a memory leak issue as James's comments. V2: use a local pict_type since coded_frame is deprecated. Signed-off-by: Zhong Li <zhong.li@intel.com>
* avcodec/opus_parser: Handle complete frames flag.Jacob Trimble2018-08-211-12/+17
| | | | | Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mxfenc: fix muxing when audio tracks are longer than video trackBaptiste Coudurier2018-08-211-3/+3
|
* avformat/audiointerleave: pad last audio frameBaptiste Coudurier2018-08-212-5/+9
|
* avcodec/codec_desc: mark Duck TrueMotion 2.0 Real Time as intra onlyPaul B Mahol2018-08-211-1/+1
|
* avcodec/nvenc: add option to turn off a53 closed caption embeddingTimo Rothenpieler2018-08-214-2/+4
|
* avformat/avidec: fix demuxing of all keyframes of sample 200707170736151.aviPaul B Mahol2018-08-211-0/+5
|
* doc/general: add some missed codecsPaul B Mahol2018-08-211-0/+3
|
* avcodec: add IMM4 decoderPaul B Mahol2018-08-218-1/+514
| | | | This work is sponsored by VideoLAN.
* avfilter/buffersrc.h: fix typo of the commentSteven Liu2018-08-211-1/+1
|
* avformat/nsvdec: Do not parse multiple NSVfMichael Niedermayer2018-08-201-0/+7
| | | | | | | | | | The specification states "NSV files may contain a single file header. " Fixes: out of array access Fixes: nsv-asan-002f473f726a0dcbd3bd53e422c4fc40b3cf3421 Found-by: Paul Ch <paulcher@icloud.com> Tested-by: Paul Ch <paulcher@icloud.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cfhd: Use the actual count instead of the expected in peak_table()Michael Niedermayer2018-08-201-1/+1
| | | | | | Fixes: out of array access (no testcase) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/cfhd: Move peak_table() and difference_coding() calls after the ↵Michael Niedermayer2018-08-201-10/+4
| | | | | | | | | | | | | | existing coefficient count check Fixes: out of array access Fixes: 9509/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5283250636324864 Fixes: 9572/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-4920757409808384 Fixes: 9596/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5114917580439552 Fixes: 9640/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-6247840698335232 Fixes: 9659/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-6079554987753472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/lagarith: Optimize FRAME_SOLID_RGBAMichael Niedermayer2018-08-201-1/+7
| | | | | | | | | | Changes 5466110 decicycles to 1798072 decicycles (tested with fate-suite/lagarith/lag-rgb32.avi) Fixes: Timeout Fixes: 9484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-5707859156271104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/matroskaenc: handle AV1 extradata in packet side dataJames Almer2018-08-181-2/+37
| | | | | | | This is a temporary workaround for transcoding scenarious using libaom-av1 encoder, which currently can't propagate extradata during initialization. Signed-off-by: James Almer <jamrial@gmail.com>
* Improve hls VOD mode hls performance problem.Ronak Patel2018-08-191-11/+33
| | | | | | | | | | | | This fixes the creation of the hls manifest in hlsenc.c by writing the entire manifest at the end for VOD playlists. Live & Event Playlists are unaffected. This also fixes the behavior with HLS_TEMP_FILE to work correctly when -hlsflags temp_file is specified, instead of always relying on use_rename, which caused these problems. Files that would previously take over a week to fragment now take 1 minute on the same hardware. This was a 153 hour audio file (2.2GB of audio). Signed-off-by: Ronak Patel <ronak2121@yahoo.com>
* avformat/dashdec: Fix strlen(rep_id_val) with it being NULLMichael Niedermayer2018-08-191-1/+3
| | | | | | | | Fixes: dash-crash-da39a3ee5e6b4b0d3255bfef95601890afd80709.xml Found-by: Paul Ch <paulcher@icloud.com> Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/tls_schannel: Fix use of uninitialized variablePaweł Wegner2018-08-181-1/+1
| | | | | | | Fixes: runtime error: passing uninitialized value to FreeContextBuffer causes a crash Signed-off-by: Paweł Wegner <pawel.wegner95@gmail.com>
* lavf/udp: use ff_log_net_error to replace log_net_errorJun Zhao2018-08-181-24/+17
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavf/tcp: check return value of setsockopt.Jun Zhao2018-08-181-4/+12
| | | | | | | when setsockopt fail, use ff_log_net_error to dump the string describing for error number. Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* lavf/network: check return value of setsockopt.Jun Zhao2018-08-181-2/+5
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* 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 <mypopydev@gmail.com>
* 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 <paulcher@icloud.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* 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 <paulcher@icloud.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/av1: filter out tile list OBUs from samplesJames Almer2018-08-172-1/+2
| | | | | | As per the updated spec. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: bump micro version after previous changesJames Almer2018-08-171-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>