- 02 Feb, 2012 6 commits
-
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
Return the correct number of consumed bytes and set *data_size = 0. Returned size is 1 too small, leading to that 1 byte being read as the next frame, which results in an extra blank frame at the beginning of the stream.
-
Justin Ruggles authored
Avoids doing malloc/free for each frame. Also fixes valgrind errors due to use of uninitialized padding bytes. Based on a patch by Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
Justin Ruggles authored
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Justin Ruggles authored
Specifies the correct number of xmm registers used so that they can be saved and restored on Win64 if necessary.
-
- 01 Feb, 2012 23 commits
-
-
Justin Ruggles authored
It is already the correct size as set by ff_alloc_packet().
-
Justin Ruggles authored
This will simplify encoders which use this function to request the exact packet size rather than the maximum size.
-
Paul B Mahol authored
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Reimar Döffinger authored
Ensures alignment and avoids using uninitialized data. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Reimar Döffinger authored
also check for allocation failure Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
Reimar Döffinger authored
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
-
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 11 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().
-