- 30 9月, 2020 6 次提交
-
-
由 James Almer 提交于
Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 James Almer 提交于
Used to reset the codec's private internal state. Signed-off-by: NJames Almer <jamrial@gmail.com>
-
由 Paul B Mahol 提交于
Use proper integer variables.
-
由 Timo Rothenpieler 提交于
-
由 Andreas Rheinhardt 提交于
avcodec_open2() also called the AVCodec's close function if an error happened before init had ever been called if the AVCodec has the FF_CODEC_CAP_INIT_CLEANUP flag set. This is against the documentation of said flag: "The codec allows calling the close function for deallocation even if the init function returned a failure." E.g. the SVQ3 decoder is not ready to be closed if init has never been called. Fixes: NULL dereference Fixes: 25762/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SVQ3_fuzzer-5716279070294016 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegReviewed-by: NPaul B Mahol <onemda@gmail.com> Reviewed-by: NMichael Niedermayer <michael@niedermayer.cc> Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Mark Thompson 提交于
This reverts commit 5bbf58ab. The setparams filters are not hwframe aware, so the default context passthrough behaviour is needed to allow using them with hardware frames.
-
- 29 9月, 2020 14 次提交
-
-
由 Paul B Mahol 提交于
-
由 Paul B Mahol 提交于
-
由 Mingyu Yin 提交于
Signed-off-by: NMingyu Yin <mingyu.yin@intel.com>
-
由 Rick Kern 提交于
Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Tian Qi 提交于
In the VT encoding insertion by FFmpeg, and vtenc_q_push is callback to add the encoded data to the singly linked list group in VTEncContext, and consumers are notified to fetch it. However, because it first informs consumers of pthread_cond_signal, and then inserts the data into the tail, there is a multi-thread safety hazard. Signed-off-by: NSteven Liu <lq@chinaffmpeg.org> Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Tian Qi 提交于
because there is run in thread mode, few times will block the workflow at the wait, so check the status is flushing data, don't wait when flushing data. Signed-off-by: NTian Qi <tianqi@kuaishou.com> Signed-off-by: NSteven Liu <lq@chinaffmpeg.org> Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Zhao Zhili 提交于
The lock is used in clear_frame_queue(). Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Zhao Zhili 提交于
bool a53_cc is accessed as int: src/libavutil/opt.c:129:9: runtime error: store to misaligned address 0x7fbf454121a3 for type 'int', which requires 4 byte alignment Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Harry Mallon 提交于
Signed-off-by: NHarry Mallon <harry.mallon@codex.online> Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Harry Mallon 提交于
Signed-off-by: NHarry Mallon <harry.mallon@codex.online> Signed-off-by: NRick Kern <kernrj@gmail.com>
-
由 Michael Niedermayer 提交于
Fixes: signed integer overflow: -1846510390 + -361755993 cannot be represented in type 'int' Fixes: 23941/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-5654696631730176 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Michael Niedermayer 提交于
Fixes: left shift of negative value -121 Fixes: 23911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGX_fuzzer-4986800258154496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
由 Andreas Rheinhardt 提交于
Reviewed-by: NJan Ekström <jeebjp@gmail.com> Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Michael Niedermayer 提交于
Fixes: Infinite loop Fixes: 25844/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5660803318153216 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegReviewed-by: NPeter Ross <pross@xvid.org> Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
-
- 28 9月, 2020 8 次提交
-
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
-
由 Anton Khirnov 提交于
A common pattern e.g. in libavcodec is replacing/updating buffer references: unref old one, ref new one. This function allows simplifying such code and avoiding unnecessary refs+unrefs if the references are already equivalent.
-
由 Pavel Koshevoy 提交于
Allow setparams to be used with hw backed frames and avoid an assertion failure in avfilter_config_links.
-
由 Jun Zhao 提交于
Add AC-3/EAC-3 to allowed extensions file list. From HTTP Live Streaming 2nd Edition draft-pantos-hls-rfc8216bis-07 section 3.1.3.Packed Audio, HLS demuxer need to support MP3/AC-3/EAC-3. Reviewd-by: NSteven Liu <liuqi05@kuaishou.com> Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
由 Jun Zhao 提交于
misc style fixes. Reviewed-by: NSteven Liu <liuqi05@kuaishou.com> Signed-off-by: NJun Zhao <barryjzhao@tencent.com>
-
由 Paul B Mahol 提交于
-
- 27 9月, 2020 12 次提交
-
-
由 Andrew Klaassen 提交于
This patch adds the coefficients for the linear gamma function (1,0,1,0) to the colorspace filter. Signed-off-by: NAndrew Klaassen <clawsoon@yahoo.com> Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com>
-
由 Paul B Mahol 提交于
-
由 Andreas Rheinhardt 提交于
Otherwise the result of such tests will not accurately reflect the current state. Reviewed-by: NJan Ekström <jeebjp@gmail.com> Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
由 Zane van Iperen 提交于
Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Zane van Iperen 提交于
It seems that in files where the BASF block isn't first, v1.1 ASF streams are allowed to be non-22050. Either this format is really inconsistent, or FX Fighter and Croc just ignored the sample rate field, requiring the v1.1 restriction in the first place. This bumps the version to 1.2 in these streams so they're not "corrected". Found in Alien Odyssey games files in: ./GRAPHICS/COMMBUNK/{{COMADD1,COMM2_{1,2,3E},COMM3_{2,3,4,5,6}},FADE{1,2}}.BRP Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Zane van Iperen 提交于
Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Zane van Iperen 提交于
Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Zane van Iperen 提交于
We can't actually use them though. Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Zane van Iperen 提交于
Signed-off-by: NZane van Iperen <zane@zanevaniperen.com>
-
由 Andriy Gelman 提交于
Signed-off-by: NAndriy Gelman <andriy.gelman@gmail.com>
-
由 Paul B Mahol 提交于
-
由 Andreas Rheinhardt 提交于
This proved beneficial for performance: For the sample [1] the number of decicycles in one decode call decreased from 155851561 to 108158037 for Clang 10 and from 168270467 to 128847479 for GCC 9.3. For x86-32 compiled with GCC 9.3 and run on an x64 Haswell the number increased from 158405517 to 202215769, so that the cached bitstream reader is only enabled if HAVE_FAST_64BIT is set. These values are the average of 10 runs each looping five times over the input. [1]: samples.ffmpeg.org/ffmpeg-bugs/trac/ticket2593/fraps_flv1_decoding_errors.avi Reviewed-by: NPaul B Mahol <onemda@gmail.com> Signed-off-by: NAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
-