summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* compat/windows/makedef: Allow building shared libs with MSVC under WSLCyber Sinh2019-04-24
| | | | A similar patch was posted by Gilles Khouzam in his blog.
* avdevice/alsa: fix indefinite stop on closing PCM captureTakayuki 'January June' Suwa2019-04-23
| | | | | | | Fixes: https://bugs.archlinux.org/task/58619 Found-by: Elias (Bleuzen) https://bugs.archlinux.org/user/26956 Signed-off-by: Nicolas George <george@nsup.org>
* libavformat/mov: limit nb_frames_for_fps to INT_MAXDan Sanders2019-04-23
| | | | | | It's this or add overflow detection in mov_read_header(). Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_surround: export more channel's in/out gainsPaul B Mahol2019-04-23
|
* avfilter/af_surround: switch to activatePaul B Mahol2019-04-23
|
* avfilter/af_surround: expose window size to userPaul B Mahol2019-04-23
|
* avfilter/af_surround: add 6.1/6.0 upmix from stereoPaul B Mahol2019-04-23
|
* avcodec/cuviddec: improve progressive frame detectionSergey Svechnikov2019-04-23
| | | | | | | | | | | | | There are 2 types of problems when using adaptive deinterlace with cuvid: 1. Sometimes, in the middle of transcoding, cuvid outputs frames with visible horizontal lines (as though weave deinterlace method was chosen); 2. Occasionally, on scene changes, cuvid outputs a wrong frame, which should have been shown several seconds before (as if the frame was assigned some wrong PTS value). The reason is that sometimes CUVIDPARSERDISPINFO has property progressive_frame equal to 1 with interlaced videos. In order to fix the problem we should check if the video is interlaced or progressive in the beginning of a video sequence (cuvid_handle_video_sequence). And then we just use this information instead of the property progressive_frame in CUVIDPARSERDISPINFO (which is unreliable). Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* examples/avio_reading: Use avio_context_free() to free AVIOContextJun Zhao2019-04-23
| | | | Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter/af_surround: make channel spread from stereo image user configurablePaul B Mahol2019-04-22
|
* avfilter/af_surround: add lfe_mode optionPaul B Mahol2019-04-22
|
* avfilter/af_surround: avoid divisions with very small numbersPaul B Mahol2019-04-22
|
* avformat/mpegenc - reject unsupported audio streamsGyan Doshi2019-04-22
| | | | | Only MP1, MP2, MP3, 16-bit PCM_DVD, PCM S16BE, AC3 and DTS audio codecs are supported by the muxer.
* lavf/oggparsevorbis: Fix change the case of metadata keys issueJun Zhao2019-04-22
| | | | | | | | | | | The spec in https://xiph.org/vorbis/doc/v-comment.html states that the metadata keys are case-insensitive, so don't change the case and update the fate test case. Fix #7784 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avformat/dashenc: Fix a bug with writing "final" manifestKarthick J2019-04-22
| | | | This bug was introduced in the commit 951561b64ee6c11f01daedd9dcf73276cc1e765b
* avformat/dashdec: add ProgramInformation parserSteven Liu2019-04-22
| | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avcodec/agm: remove ;;Michael Niedermayer2019-04-21
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/agm: Check for too many too short codes in make_new_tree()Michael Niedermayer2019-04-21
| | | | | | | | | Fixes: SEGV on unknown address Fixes: 14198/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5723579234123776 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/agm: Do not crash on invalid codesMichael Niedermayer2019-04-21
| | | | | | | | | | | | | I do not know if such vlc trees are allowed in agm, I have no specification So i do not know if these should be treated as error, or not. But the code does contain a check for idx < 0 already ... Fixes: Stack-buffer-overflow in get_tree_codes Fixes: 14189/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5745747003179008 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/ccaption_dec: Add a blank like at the end to avoid rollup reading ↵Michael Niedermayer2019-04-21
| | | | | | | | | | | from outside Fixes: index 20 out of bounds for type 'const char *[4][128]' Fixes: 14367/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CCAPTION_fuzzer-5718819672162304 Reviewed-by: Paul B Mahol <onemda@gmail.com> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavfi/avf_showwaves: fix extra gaps at end of waveformPaul B Mahol2019-04-21
| | | | Fixes #5931.
* avcodec/dvdec: add frame threadsPaul B Mahol2019-04-21
|
* lavfi/frei0r: Fixes the compilation warningsJun Zhao2019-04-21
| | | | | | | Fixes the compilation warnings Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* doc/codecs: mention error returned for flag AV_CODEC_FLAG_DROPCHANGEDGyan Doshi2019-04-21
|
* doc/mailing-list-faq: auto unsubscribe due to DMARCLou Logan2019-04-20
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* lavfi: add colorkey_opencl filterJarek Samic2019-04-20
| | | | | | | This is a direct port of the CPU filter. Signed-off-by: Jarek Samic <cldfire3@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* avfilter: add lagfun filterPaul B Mahol2019-04-20
|
* avfilter/vf_lut3d: add cineSpace 3D lut supportPaul B Mahol2019-04-20
|
* avfilter/vf_lut3d: add cineSpace 1D lut parsingPaul B Mahol2019-04-20
|
* doc/filters: list values for af_surround window functionGyan Doshi2019-04-20
|
* avfilter/af_surround: allow user to change overlap and win_funcPaul B Mahol2019-04-20
|
* doc/APIchanges: update for 3153a6502aGyan Doshi2019-04-20
| | | | Entry for added avcodec flag AV_CODEC_FLAG_DROPCHANGED
* avcodec: add AV_CODEC_FLAG_DROPCHANGED to flagsGyan Doshi2019-04-20
| | | | Discard decoded frames which differ from first decoded frame in stream.
* lavf: bump version/add APIchanges entry when cleanup applehttpJun Zhao2019-04-20
| | | | | | | commit abfeba9 "lavf/hls: Cleanup the applehttp" missed the version bump and APIchanges entry. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavfi/fspp: Simplify a macro.Carl Eugen Hoyos2019-04-20
| | | | | Silences a warning with clang: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44130 to -21406
* configure: Add .exe suffix to toolchain calls.Carl Eugen Hoyos2019-04-20
| | | | Allows in-tree msvc compilation with wsl.
* avcodec/pictordec: Only recalculate d when y changes in picmemset()Michael Niedermayer2019-04-19
| | | | | | | | Fixes: Timeout (21->18sec) Fixes: 14124/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PICTOR_fuzzer-5633887734071296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/pictordec: avoid pointers in picmemset()Michael Niedermayer2019-04-19
| | | | | | | Improves overall speed by about 3% Testcase: 14124/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PICTOR_fuzzer-5633887734071296 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/wmv2dec: Check that the P frame secondary header fit in the inputMichael Niedermayer2019-04-19
| | | | | | | | Fixes: Timeout (64sec ->2 sec) Fixes: 14131/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5719879556005888 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/ivi: Move buffer/block end check to caller of ivi_dc_transform()Michael Niedermayer2019-04-19
| | | | | | | | Fixes: assertion failure Fixes: 14078/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5760571284127744 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/diracdec: Use 64bit in intermediate of global motion vector field ↵Michael Niedermayer2019-04-19
| | | | | | | | | | | generation It seems the specification does not limit the value to 32bit Fixes: signed integer overflow: -109611143 * 24 cannot be represented in type 'int' Fixes: 13477/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5648337460527104 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/apetag: tag values are unsignedDan Sanders2019-04-19
| | | | | | | Fixes: UBSan runtime error Found-by: Clusterfuzz Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* libavformat: improve logs with cur_dtsAndreas Hakon2019-04-19
| | | | | | | | | | | This patch improves the logs when the message "cur_dts is invalid" appears. If helps to identify which stream generates the trouble, and the status of the stream. A lot of users suffers with the message, and the origin varies. The improved message can help to discover the cause. Signed-off-by: Andreas Hakon <andreas.hakon@protonmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests: don't include TARGET_PATH in the sample path needlesslyHendrik Leppkes2019-04-19
| | | | | | The transcode() helper function will already prepend the TARGET_PATH to the sample path, if its a relative path. This avoids an issue on Windows, where the relative path check could fail.
* lavu/hwcontext_d3d: Cast src pointers calling av_image_copy*().Carl Eugen Hoyos2019-04-19
| | | | | | | | Silences several warnings: libavutil/hwcontext_d3d11va.c:413:49: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type libavutil/hwcontext_d3d11va.c:425:47: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type libavutil/hwcontext_dxva2.c:351:45: warning: passing argument 3 of ‘av_image_copy’ from incompatible pointer type libavutil/hwcontext_dxva2.c:382:52: warning: passing argument 3 of ‘av_image_copy_uc_from’ from incompatible pointer type
* lavf/vc1dec: Reduce probe score for streams with invalid frames.Carl Eugen Hoyos2019-04-19
| | | | Fixes ticket #7853.
* lavc/alac: Make a variable unsigned.Carl Eugen Hoyos2019-04-19
| | | | | | Fixes a bogus compiler warning (max_samples_per_frame is checked): libavcodec/alac.c: In function ‘allocate_buffers’: ./libavutil/internal.h:142:9: warning: argument 1 value ‘18446744073709551552’ exceeds maximum object size 9223372036854775807
* avcodec/get_bits: unbreak get_bits_le() with cached readerPaul B Mahol2019-04-19
|
* lavf/utils: Allow url credentials to contain a slash.Carl Eugen Hoyos2019-04-19
| | | | Fixes ticket #7816.
* avutil/colorspace: add macros for RGB->YUV BT.709Gyan Doshi2019-04-19
|