- 01 Feb, 2012 17 commits
-
-
Reimar Döffinger authored
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Janne Grunau authored
Wrapper around av_fast_malloc() that keeps FF_INPUT_BUFFER_PADDING_SIZE zero-padded bytes at the end of the used buffer. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>.
-
Ronald S. Bultje authored
This was accidently disabled. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Ronald S. Bultje authored
-
Diego Biurrun authored
-
Ronald S. Bultje authored
-
Diego Biurrun authored
-
Paul B Mahol authored
Also use av_log_ask_for_sample() where it makes sense. Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
Janne Grunau authored
CC: libav-stable@libav.org
-
Janne Grunau authored
-
Paul B Mahol authored
DSPContext.bswap_buf() requires aligned output Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Mans Rullgard authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Alex Converse authored
Found with asan. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Michael Niedermayer authored
dv: Fix null pointer dereference due to ach=0 Fixes part2 of CVE-2011-3929 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Michael Niedermayer authored
dv: check stype Fixes part1 of CVE-2011-3929 Possibly fixes part of CVE-2011-3936 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Reviewed-by: Roman Shaposhnik <roman@shaposhnik.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Janne Grunau authored
get_ue_golomb_long() is only tested for values up to 2^15 - 2 since we can not write larger values. Silence the test on success and return a non-zero value on error. Use an heap scratch buffer instead of large stack buffer. Remove unneeded includes.
-
- 31 Jan, 2012 23 commits
-
-
Alex Converse authored
-
Diego Biurrun authored
-
Diego Biurrun authored
-
Diego Biurrun authored
The new name is more appropriate as only golomb functions are tested.
-
Diego Biurrun authored
-
Diego Biurrun authored
This also avoids a segfault on startup.
-
Diego Biurrun authored
-
Anton Khirnov authored
Fixes bug 212.
-
Anton Khirnov authored
This way, if the AVCodecContext is allocated for a specific codec, the caller doesn't need to store this codec separately and then pass it again to avcodec_open2(). It also allows to set codec private options using av_opt_set_* before opening the codec.
-
Anton Khirnov authored
I.e. free the priv_data and other stuff allocated in avcodec_alloc_context3() and not segfault.
-
Anton Khirnov authored
It allows to check whether an AVCodecContext is open in a documented way. Right now the undocumented way this check is done in lavf/lavc is by checking whether AVCodecContext.codec is NULL. However it's desirable to be able to set AVCodecContext.codec before avcodec_open2().
-
Anton Khirnov authored
It's only used by raw demuxers for storing the codec id.
-
Anton Khirnov authored
The demuxers don't use it in any way.
-
Anton Khirnov authored
-
Anton Khirnov authored
Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
-
Anton Khirnov authored
Put all private fields at the end and mark them as such so they can be easily changed/removed. This breaks ABI.
-
Alex Converse authored
In some cases, what is left to read from ptr is smaller than EXTRABYTES. Based on a patch by Thierry Foucu <tfoucu@gmail.com>. Signed-off-by: Alex Converse <alex.converse@gmail.com>
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
Add FF_INPUT_BUFFER_PADDING_SIZE. If allocation fails, also free memory which was allocated previously in adpcm_encode_init().
-
Justin Ruggles authored
-
Justin Ruggles authored
-
Justin Ruggles authored
It is already set in avcodec_alloc_frame().
-