- 02 May, 2017 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #6362.
-
- 12 Nov, 2016 1 commit
-
-
Diego Biurrun authored
Fixes several warnings of the type libavformat/nut.c:207:42: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
-
- 27 Oct, 2016 1 commit
-
-
Diego Biurrun authored
The code has little usefulness and uses the __PRETTY_FUNCTION__ GNU extension.
-
- 30 Sep, 2016 1 commit
-
-
Anton Khirnov authored
It is supposed to be a flag. The only currently defined value is AVIO_SEEKABLE_NORMAL, but other ones may be added in the future. However all the current lavf code treats this field as a bool (mainly for historical reasons). Change all those cases to properly check for AVIO_SEEKABLE_NORMAL.
-
- 14 Apr, 2016 1 commit
-
-
Paul B Mahol authored
Needed for av_log() inside that function. Signed-off-by:
Paul B Mahol <onemda@gmail.com>
-
- 23 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
-
- 13 Jan, 2016 1 commit
-
-
Andreas Cadhalpun authored
Fixes runtime error: null pointer passed as argument 2, which is declared to never be null Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 19 Dec, 2015 2 commits
-
-
Andreas Cadhalpun authored
If it is negative, it can cause the byte position to move backwards in avio_skip, which in turn makes sm_size negative and thus size larger than the size of the packet buffer, causing invalid writes in avio_read. Also fix potential overflow of avio_tell(bc) + value_len. Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
Fixes ubsan runtime error: null pointer passed as argument 2, which is declared to never be null Reviewed-by:
Michael Niedermayer <michael@niedermayer.cc> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 25 Nov, 2015 2 commits
-
-
Luca Barbato authored
And make one more informative.
-
Luca Barbato authored
-
- 27 Oct, 2015 1 commit
-
-
Hendrik Leppkes authored
-
- 25 Oct, 2015 1 commit
-
-
Ganesh Ajjanagadde authored
libc's qsort comparator has a const qualifier on both arguments. This adds a missing const qualifier to exactly match the comparator API. Existing usages of av_tree_find, av_tree_insert are appropriately modified: type signature changes of the comparators, and removal of unnecessary void * casts of function pointers. Reviewed-by:
Henrik Gramner <henrik@gramner.com> Reviewed-by:
wm4 <nfxjfg@googlemail.com> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
-
- 27 Jul, 2015 1 commit
-
-
Vittorio Giovara authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 01 Jul, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes assertion failure Found-by: durandal_1707 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 27 Jun, 2015 1 commit
-
-
Andreas Cadhalpun authored
Otherwise sm_size can be larger than size, which results in a negative packet size. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 23 May, 2015 2 commits
-
-
Andreas Cadhalpun authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
If it fails, the buffers can be (partially) uninitialized. This fixes 'Conditional jump or move depends on uninitialised value(s)' valgrind warnings. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
- 22 May, 2015 1 commit
-
-
Michael Niedermayer authored
Prevents read of uninitialized variable Based on patch by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 20 May, 2015 5 commits
-
-
Andreas Cadhalpun authored
These loops can take a lot of time if count is very large. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
This can unnecessarily waste a lot of time. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Andreas Cadhalpun authored
nut->last_syncpoint_pos doesn't necessarily change between resync attempts, so find_any_startcode can return the same startcode again. Thus remember where the last resync happened and don't try to resync before that. This can't be done locally in nut_read_packet, because this wouldn't prevent infinite resync loops, where after the resync a packet is returned and while reading a following packet the resync happens again. Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-
Michael Niedermayer authored
Found-by:
Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 14 May, 2015 2 commits
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Timothy Gu authored
Added in 36170266. Modified version that doesn't use this label merged in 55231323, thus obsoleting this label. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 May, 2015 1 commit
-
-
Michael Niedermayer authored
Fixes CID1041175 Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 09 May, 2015 1 commit
-
-
Luca Barbato authored
Based on Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> work. CC: libav-stable@libav.org
-
- 08 May, 2015 1 commit
-
-
Andreas Cadhalpun authored
This fixes a segmentation fault when accessing the metadata. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> CC: libav-stable@libav.org
-
- 28 Apr, 2015 4 commits
-
-
Andreas Cadhalpun authored
The existing check has two problems: 1) i + count can overflow, so that the check '< 256' returns true. 2) In the (i == 'N') case occurs a j-- so that the loop runs once more. This can trigger the assertion 'nut->header_len[0] == 0' or cause segmentation faults or infinite hangs. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
This fixes a segmentation fault when accessing the metadata. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Andreas Cadhalpun authored
A negative frame rate triggers an av_assert2 in av_rescale_rnd. Signed-off-by:
Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 30 Mar, 2015 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Mar, 2015 1 commit
-
-
Vittorio Giovara authored
Bug-Id: CID 205122 / CID 205123
-
- 17 Feb, 2015 1 commit
-
-
Hugo Beauzée-Luyssen authored
Signed-off-by:
Vittorio Giovara <vittorio.giovara@gmail.com>
-
- 10 Feb, 2015 1 commit
-
-
wm4 authored
This is not an API change; the fields were explicitly declared private before. Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
- 06 Nov, 2014 1 commit
-
-
Anton Khirnov authored
It is not supposed to be set by demuxers.
-
- 21 Oct, 2014 1 commit
-
-
Vittorio Giovara authored
CC: libav-stable@libav.org Bug-Id: CID 733713
-
- 20 Oct, 2014 1 commit
-
-
Luca Barbato authored
Chapters do not have an event_flags field. Bug-Id: CID 1231990
-