summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/h264_ps: use get_se_golomb_long() to parse some sps fieldsJames Almer2019-04-241-3/+3
| | | | | | All three may be up to 32 bits wide. Signed-off-by: James Almer <[email protected]>
* avcodec/h264_ps: fix storage size for offset_for_ref_frameJames Almer2019-04-241-1/+1
| | | | | | | The spec defines the valid range of values to be INT32_MIN + 1 to INT32_MAX, inclusive. Reviewed-by: Mark Thompson <[email protected]> Signed-off-by: James Almer <[email protected]>
* avfilter/af_surround: improve rear channels separationPaul B Mahol2019-04-241-10/+10
|
* avfilter/af_surround: check for invalid magnitude and phase differencePaul B Mahol2019-04-241-0/+3
|
* avfilter/af_surround: add angle optionPaul B Mahol2019-04-242-0/+29
|
* avfilter/af_surround: fix typoPaul B Mahol2019-04-241-1/+1
|
* avcodec/arbc: Try to correct keyframe/frame typeMichael Niedermayer2019-04-241-12/+19
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/arbc: Skip unchanged framesMichael Niedermayer2019-04-241-1/+1
| | | | | | | | Fixes: Timeout (16sec -> 5sec) Fixes: 14128/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5767365721063424 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avutil/avstring: Fix bug and undefined behavior in av_strncasecmp()Michael Niedermayer2019-04-241-2/+3
| | | | | | | | | The function in case of n=0 would read more bytes than 0. The end pointer could be beyond the allocated space, which is undefined. Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/mov: Skip stsd adjustment without chunksMichael Niedermayer2019-04-241-0/+2
| | | | | | | | | Fixes: Assertion failure Fixes: clusterfuzz-testcase-minimized-media_pipeline_integration_fuzzer-5683096400822272 Found-by: Clusterfuzz Reported-by: Dan Sanders <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avformat/aadec: Check for scanf() failureMichael Niedermayer2019-04-241-1/+6
| | | | | | | | Fixes: use of uninitialized variables Fixes: blank.aa Found-by: Chamal De Silva <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/dxtory: Check slice_size against minimum in dxtory_decode_v2()Michael Niedermayer2019-04-241-2/+8
| | | | | | | | Fixes: Timeout (33sec -> 16 milli sec) Fixes: 14181/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXTORY_fuzzer-5681840708386816 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/dsicinvideo: check the amount decoded by cin_decode_huffman()Michael Niedermayer2019-04-241-1/+4
| | | | | | | | | | | Fixes: Timeout (158sec -> 36sec) Fixes: 14214/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DSICINVIDEO_fuzzer-5633569034076160 This is untested with valid cin files as none of the files i found cover the changed codepath Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/agm: Check that there is available input in read_code()Michael Niedermayer2019-04-241-0/+3
| | | | | | | | Fixes: Timeout (46sec -> 7ms) Fixes: 14030/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AGM_fuzzer-5721258760601600 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* tests/fate-run: New variable hostexecsuf for local fate tools.Carl Eugen Hoyos2019-04-242-4/+5
| | | | Allows running fate in-tree on wsl with msvc.
* compat/windows/makedef: Allow building shared libs with MSVC under WSLCyber Sinh2019-04-241-2/+2
| | | | A similar patch was posted by Gilles Khouzam in his blog.
* avdevice/alsa: fix indefinite stop on closing PCM captureTakayuki 'January June' Suwa2019-04-231-2/+4
| | | | | | | Fixes: https://bugs.archlinux.org/task/58619 Found-by: Elias (Bleuzen) https://bugs.archlinux.org/user/26956 Signed-off-by: Nicolas George <[email protected]>
* libavformat/mov: limit nb_frames_for_fps to INT_MAXDan Sanders2019-04-231-2/+2
| | | | | | It's this or add overflow detection in mov_read_header(). Signed-off-by: Michael Niedermayer <[email protected]>
* avfilter/af_surround: export more channel's in/out gainsPaul B Mahol2019-04-232-0/+112
|
* avfilter/af_surround: switch to activatePaul B Mahol2019-04-231-42/+65
|
* avfilter/af_surround: expose window size to userPaul B Mahol2019-04-232-1/+6
|
* avfilter/af_surround: add 6.1/6.0 upmix from stereoPaul B Mahol2019-04-231-0/+100
|
* avcodec/cuviddec: improve progressive frame detectionSergey Svechnikov2019-04-231-0/+6
| | | | | | | | | | | | | 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 <[email protected]>
* examples/avio_reading: Use avio_context_free() to free AVIOContextJun Zhao2019-04-231-3/+4
| | | | Signed-off-by: Jun Zhao <[email protected]>
* avfilter/af_surround: make channel spread from stereo image user configurablePaul B Mahol2019-04-222-70/+126
|
* avfilter/af_surround: add lfe_mode optionPaul B Mahol2019-04-222-10/+21
|
* avfilter/af_surround: avoid divisions with very small numbersPaul B Mahol2019-04-221-9/+18
|
* avformat/mpegenc - reject unsupported audio streamsGyan Doshi2019-04-221-0/+10
| | | | | 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-223-7/+6
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Jun Zhao <[email protected]>
* avformat/dashenc: Fix a bug with writing "final" manifestKarthick J2019-04-221-1/+1
| | | | This bug was introduced in the commit 951561b64ee6c11f01daedd9dcf73276cc1e765b
* avformat/dashdec: add ProgramInformation parserSteven Liu2019-04-221-0/+30
| | | | Signed-off-by: Steven Liu <[email protected]>
* avcodec/agm: remove ;;Michael Niedermayer2019-04-211-1/+1
| | | | | Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/agm: Check for too many too short codes in make_new_tree()Michael Niedermayer2019-04-211-2/+8
| | | | | | | | | 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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/agm: Do not crash on invalid codesMichael Niedermayer2019-04-211-1/+1
| | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* avcodec/ccaption_dec: Add a blank like at the end to avoid rollup reading ↵Michael Niedermayer2019-04-211-4/+4
| | | | | | | | | | | 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 <[email protected]> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <[email protected]>
* lavfi/avf_showwaves: fix extra gaps at end of waveformPaul B Mahol2019-04-211-4/+8
| | | | Fixes #5931.
* avcodec/dvdec: add frame threadsPaul B Mahol2019-04-211-9/+10
|
* lavfi/frei0r: Fixes the compilation warningsJun Zhao2019-04-211-1/+1
| | | | | | | Fixes the compilation warnings Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Jun Zhao <[email protected]>
* doc/codecs: mention error returned for flag AV_CODEC_FLAG_DROPCHANGEDGyan Doshi2019-04-211-0/+1
|
* doc/mailing-list-faq: auto unsubscribe due to DMARCLou Logan2019-04-201-3/+17
| | | | Signed-off-by: Lou Logan <[email protected]>
* lavfi: add colorkey_opencl filterJarek Samic2019-04-207-0/+331
| | | | | | | This is a direct port of the CPU filter. Signed-off-by: Jarek Samic <[email protected]> Signed-off-by: Mark Thompson <[email protected]>
* avfilter: add lagfun filterPaul B Mahol2019-04-206-1/+271
|
* avfilter/vf_lut3d: add cineSpace 3D lut supportPaul B Mahol2019-04-202-0/+93
|
* avfilter/vf_lut3d: add cineSpace 1D lut parsingPaul B Mahol2019-04-202-0/+79
|
* doc/filters: list values for af_surround window functionGyan Doshi2019-04-201-1/+26
|
* avfilter/af_surround: allow user to change overlap and win_funcPaul B Mahol2019-04-202-3/+41
|
* doc/APIchanges: update for 3153a6502aGyan Doshi2019-04-201-0/+4
| | | | Entry for added avcodec flag AV_CODEC_FLAG_DROPCHANGED
* avcodec: add AV_CODEC_FLAG_DROPCHANGED to flagsGyan Doshi2019-04-206-2/+66
| | | | Discard decoded frames which differ from first decoded frame in stream.
* lavf: bump version/add APIchanges entry when cleanup applehttpJun Zhao2019-04-202-1/+4
| | | | | | | commit abfeba9 "lavf/hls: Cleanup the applehttp" missed the version bump and APIchanges entry. Signed-off-by: Jun Zhao <[email protected]>
* lavfi/fspp: Simplify a macro.Carl Eugen Hoyos2019-04-201-1/+1
| | | | | Silences a warning with clang: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44130 to -21406