- 26 May, 2016 1 commit
-
-
Andrey Turkin authored
avcodec_copy_context() didn't handle hw_frames_ctx references correctly which could cause crashes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 23 May, 2016 2 commits
-
-
Anton Khirnov authored
This function is supposed to "reset" a codec context to a clean state so that it can be opened again. The only reason it exists is to allow using AVStream.codec as a decoding context (after it was already opened/used/closed by avformat_find_stream_info()). Since that behaviour is now deprecated, there is no reason for this function to exist anymore.
-
Anton Khirnov authored
Since AVCodecContext contains a lot of complex state, copying a codec context is not a well-defined operation. The purpose for which it is typically used (which is well-defined) is copying the stream parameters from one codec context to another. That is now possible with through the AVCodecParameters API. Therefore, there is no reason for avcodec_copy_context() to exist.
-
- 30 Aug, 2015 1 commit
-
-
Michael Niedermayer authored
It does not need to be non static Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 06 Aug, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 21 Jul, 2015 1 commit
-
-
James Almer authored
It's done automatically by avcodec_open2() now. Fixes memleaks in fate-libavcodec-options. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
-
- 03 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Unbreak build from 7a5902c5. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
- 08 Dec, 2014 1 commit
-
-
Lukasz Marek authored
This test doesn't cover every possible issue with this function. It covers options management only. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 06 Dec, 2014 1 commit
-
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 05 Dec, 2014 1 commit
-
-
Lukasz Marek authored
This prevents potential crash when opt API is used without a class. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 26 Nov, 2014 1 commit
-
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 21 Nov, 2014 1 commit
-
-
Lukasz Marek authored
rc_eq is an option, so it is copied by av_opt_copy(dest, src); above.
-
- 18 Nov, 2014 1 commit
-
-
Vadim Kalinsky authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 16 Nov, 2014 2 commits
-
-
Lukasz Marek authored
It's default in option_table.h is 0, but without this fix it is represented as 0/0. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
Lukasz Marek authored
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 09 Nov, 2014 1 commit
-
-
Lukasz Marek authored
avcodec_copy_context leaves shallow copy of string/binary/dict options. Double free/accessing freed memory may occur. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
-
- 18 Oct, 2014 1 commit
-
-
Anton Khirnov authored
-
- 15 Oct, 2014 1 commit
-
-
Anton Khirnov authored
When decoding, this field holds the inverse of the framerate that can be written in the headers for some codecs. Using a field called 'time_base' for this is very misleading, as there are no timestamps associated with it. Furthermore, this field is used for a very different purpose during encoding. Add a new field, called 'framerate', to replace the use of time_base for decoding.
-
- 15 Aug, 2014 1 commit
-
-
Gabriel Dume authored
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-
- 01 Jun, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 May, 2014 1 commit
-
-
Michael Niedermayer authored
previously it was freed but the pointer not cleared Found-by: ruggles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 18 May, 2014 1 commit
-
-
Anton Khirnov authored
Right now, the caller has to manually manage some allocated AVCodecContext fields, like extradata or subtitle_header. This is fragile and prone to leaks, especially if we want to add more such fields in the future. The only reason for this behaviour is so that the AVStream codec context can be reused for decoding. Such reuse is discouraged anyway, so this commit is the first step to deprecating it.
-
- 15 May, 2014 3 commits
-
-
Michael Niedermayer authored
The value is already copied in the generic code so it should always match Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Anton Khirnov authored
-
Anton Khirnov authored
If a non-NULL codec was passed to avcodec_alloc_context3(), private data will be already allocated in dest.
-
- 04 Nov, 2013 1 commit
-
-
Anton Khirnov authored
It's a private field, it should not be visible to callers. Deprecate AVCodecContext.thread_opaque
-
- 03 Nov, 2013 1 commit
-
-
Stefano Sabatini authored
-
- 13 Aug, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes memleak Fixes Ticket2216 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 02 Aug, 2013 1 commit
-
-
Diego Biurrun authored
-
- 01 May, 2013 1 commit
-
-
Nicolas George authored
Fix trac ticket #2489.
-
- 22 Apr, 2013 1 commit
-
-
Michael Niedermayer authored
Fixes Ticket1996 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 08 Mar, 2013 1 commit
-
-
Anton Khirnov authored
-
- 15 Dec, 2012 1 commit
-
-
Stefano Sabatini authored
-
- 08 Oct, 2012 1 commit
-
-
Anton Khirnov authored
-
- 18 Aug, 2012 1 commit
-
-
Anton Khirnov authored
-
- 15 Aug, 2012 1 commit
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 30 Jul, 2012 1 commit
-
-
jamal authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 19 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 03 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
Please help setting the category for all remaining AVClasses Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-