- 10 Apr, 2020 1 commit
-
-
Anton Khirnov authored
The current design, where - proper init is called for the first per-thread context - first thread's private data is copied into private data for all the other threads - a "fixup" function is called for all the other threads to e.g. allocate dynamically allocated data is very fragile and hard to follow, so it is abandoned. Instead, the same init function is used to init each per-thread context. Where necessary, AVCodecInternal.is_copy can be used to differentiate between the first thread and the other ones (e.g. for decoding the extradata just once).
-
- 23 Aug, 2019 1 commit
-
-
Michael Niedermayer authored
Clipping was added in 2009 to avoid crashes. The clipped case would produce a 2nd slice with 0 input thus also producing 0 output. Subsequent checks will cause decoder failure unless both slices have the same output length. thus the only way this would not already fail is if the output from both slices was 0 bytes. Fixes: Timeout (134sec -> 241ms) Fixes: 15599/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSZH_fuzzer-5658127116009472 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpegSigned-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 11 Apr, 2017 2 commits
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 09 Feb, 2017 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 07 Feb, 2017 1 commit
-
-
Derek Buitenhuis authored
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 18 Feb, 2016 2 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 11 Aug, 2015 1 commit
-
-
Carl Eugen Hoyos authored
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 17 Nov, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket1216 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 17 Aug, 2014 1 commit
-
-
Piotr Bandurski authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 14 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Fixes out of array read Fixes: yuv111_no_compr_crash.avi Found-by: Piotr Bandurski <ami_stuff@o2.pl> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 03 Aug, 2014 1 commit
-
-
Diego Biurrun authored
This is cleaner and avoids a cast plus a related const qualifier warning.
-
- 03 Oct, 2013 1 commit
-
-
Diego Biurrun authored
-
- 13 May, 2013 1 commit
-
-
Michael Niedermayer authored
Other dimensions would not work correctly currently, also ask for a sample for files that fail this check. This fixes an integer overflow leading to out of array accesses. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 13 Mar, 2013 1 commit
-
-
Clément Bœsch authored
Coccinelle profile used: @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_get_buffer(ctx, f, flags)) < 0) + return r; @@ expression r, ctx, f, loglevel, str; @@ -if ((r = ff_reget_buffer(ctx, f)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_reget_buffer(ctx, f)) < 0) + return r; @@ expression r, ctx, f, loglevel, str, flags; @@ -if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) { - av_log(ctx, loglevel, str); - return r; -} +if ((r = ff_thread_get_buffer(ctx, f, flags)) < 0) + return r; ...along with some manual patches for the remaining ones.
-
- 08 Mar, 2013 1 commit
-
-
Anton Khirnov authored
-
- 24 Jan, 2013 1 commit
-
-
Michael Niedermayer authored
Fix integer overflow and out of array read Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 14 Jan, 2013 1 commit
-
-
Anton Khirnov authored
-
- 26 Dec, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 04 Dec, 2012 2 commits
-
-
Anton Khirnov authored
It's got_frame, not data size
-
Anton Khirnov authored
It will be useful in the upcoming transition to refcounted AVFrames.
-
- 04 Nov, 2012 1 commit
-
-
Paul B Mahol authored
Sample from ticket #1216 does not use any compression but bitstream claims it is. Reference decoder decodes sample just fine. Fixes #1216. Signed-off-by: Paul B Mahol <onemda@gmail.com>
-
- 25 Oct, 2012 1 commit
-
-
Diego Biurrun authored
The function is used elsewhere and does not belong with the LZO code.
-
- 23 Oct, 2012 1 commit
-
-
Diego Biurrun authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 07 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 06 Apr, 2012 1 commit
-
-
Martin Storsjö authored
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 01 Mar, 2012 1 commit
-
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 24 Feb, 2012 1 commit
-
-
Ronald S. Bultje authored
This prevents crashes when trying to read beyond the end of the buffer while decoding frame data. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 23 Feb, 2012 1 commit
-
-
Ronald S. Bultje authored
If the PNG filter is enabled, a PNG-style filter will run over the input buffer, writing into the buffer. Therefore, if no zlib compression was used, ensure that we copy into a temporary buffer, otherwise we overwrite user-provided input data.
-
- 31 Dec, 2011 1 commit
-
-
Reimar Döffinger authored
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 29 Jul, 2011 1 commit
-
-
Anton Khirnov authored
It's more readable and less prone to breakage.
-
- 23 Jun, 2011 1 commit
-
-
Diego Biurrun authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 07 May, 2011 1 commit
-
-
Stefano Sabatini authored
This is required specifically for setting frame->format to -1, otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading the format from the output decoded frame will get misled. In particular fix regressions occurring with the pending vsrc_buffer patch.
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 28 Jan, 2011 1 commit
-
-
Diego Elio Pettenò authored
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f)
-
- 26 Jan, 2011 1 commit
-
-
Diego Elio Pettenò authored
None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
-