- 21 Sep, 2011 19 commits
-
-
Alex Converse authored
-
Mans Rullgard authored
This fixes some nonsensical code by moving some should-be-shared code to separate functions and using these. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
Diego Biurrun authored
-
Anton Khirnov authored
This reverts commit 2cf8355f. AVInputStream.nb_streams tracks number of streams found at the beginning, new streams may appear that ffmpeg doesn't know about. Fixes crash in this case.
-
Anton Khirnov authored
-
Anton Khirnov authored
Fixes build on next major bump.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
They are still being used and shouldn't be removed.
-
Anton Khirnov authored
Fixes compile with next lavc major.
-
Diego Biurrun authored
-
Diego Biurrun authored
This fixes build failures with -DDEBUG in CPPFLAGS.
-
Diego Biurrun authored
This fixes build failures with -DDEBUG in CPPFLAGS.
-
Stefano Sabatini authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Stefano Sabatini authored
0 is top-field-first, 1 is bottom-field-first, not the other way around. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Joakim Plate authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
David Goldwich authored
Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
David Goldwich authored
This extends the ID3v2 parser to allow for reading of non-text (i.e. other than T***) meta tag frames providing a ff_id3v2_read_all() function. An additional data structure 'ID3v2ExtraMeta' is introduced for these tags since AVDictionary is string oriented and unsuitable for binary data. A parser for tag frames of type GEOB is implemented, which is needed to extract keyring information from encrypted OMA files. GEOB data is parsed into 'ID3v2ExtraMetaGEOB' data structures. The routine to decode characters from different encodings to UTF-8, formerly part of the read_ttag() function, is moved to its own function. Because some tag frames contain subparts of unknown length, the function is now also able to read until a null character is found. In addition, the function now takes care of allocating a buffer long enough to hold the decoded characters. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
David Goldwich authored
This patch adds the possibility to calculate the DES-CBC-MAC of a source buffer (i.e. the last block of the buffer encrypted in CBC mode) without having to allocate a destination buffer that is as long as the complete source buffer, but instead only 8 bytes for the MAC. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 20 Sep, 2011 3 commits
-
-
Martin Storsjö authored
If not enough bytes are available, keep track of them and skip them on next call. In practice, if these trailer bytes are written in a separate call, there is no other data written in this call, making it fall into the "FLV packet too small" case currently - working, but not as intended. This patch makes the code more robust, handling all cases except for having the FLV packet header split over multiple write calls. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Chiranjeevi Melam authored
If the FLV packet is larger than the AVIO buffer, a partial FLV packet will be flushed to the RTMP protocol. This commit handles the most common cases of FLV packets being written in more than one call. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 19 Sep, 2011 14 commits
-
-
Anton Khirnov authored
st may be NULL when there are more mov streams than AVStreams, e.g. when chapters are present.
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
This prevents crashes with some corrupted bitstreams. Signed-off-by: Martin Storsjö <martin@martin.st>
-
Joakim Plate authored
Signed-off-by: Joakim Plate <elupus@ecce.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Stefano Sabatini authored
-1 is more correct than 0, as the position in the file is undefined. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Stefano Sabatini authored
Also remove outdated reference to color in vf_pad.c. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Stefano Sabatini authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Stefano Sabatini authored
-
Stefano Sabatini authored
-
Laurent Aimar authored
It prevents crashes due to non initialized fields. Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
David Goldwich authored
Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
- 18 Sep, 2011 1 commit
-
-
Anton Khirnov authored
-
- 17 Sep, 2011 3 commits
-
-
Stefano Sabatini authored
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-
Laurent Aimar authored
Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Anton Khirnov authored
Partially fixes bug 44.
-