summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* Add LATM demuxerJanne Grunau2011-09-224-2/+15
| | | | | This is a raw demuxer for the AAC LATM decoder and thus limited to single stream LOAS.
* 8svx/iff: fix decoding of compressed stereo 8svx files.Justin Ruggles2011-09-221-40/+5
| | | | | | | | | | Make the iff demuxer send the whole audio chunk to the decoder as a single packet and move stereo interleaving from the iff demuxer to the decoder. Based on a patch by Stefano Sabatini. git.videolan.org/ffmpeg.git commit e280a4da2ae6fd44f0079358ecc5aa08e388a5ed
* mp4: Don't read an empty Decoder Config DescriptorAlex Converse2011-09-221-1/+1
|
* rtmp: Make the input FLV parser handle data cut at any pointMartin Storsjö2011-09-221-34/+27
| | | | | | | | | | | | | | This makes the RTMP writing code able to handle FLV data fed in arbitrarily small or large chunks, with multiple consecutive packets in one write call, or having the FLV packet header split over numerous write calls. When used in conjunction with the flv muxer, the AVIO buffer size still needs to be large enough to fit the initial metadata packet though, since the size of that packet is written with a seekback. Signed-off-by: Martin Storsjö <martin@martin.st>
* swfdec: Add support for sample_rate_code 0 (5512 Hz)Alex Converse2011-09-211-2/+3
|
* Remove some forgotten AVCodecContext.palctrl usage.Anton Khirnov2011-09-211-2/+0
|
* Fix av_dlog invocations with wrong or missing logging context.Diego Biurrun2011-09-211-1/+1
| | | | This fixes build failures with -DDEBUG in CPPFLAGS.
* oma: support for encrypted filesDavid Goldwich2011-09-211-14/+255
| | | | | Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* id3v2: add support for non-text and GEOB type tag framesDavid Goldwich2011-09-212-38/+270
| | | | | | | | | | | | | | | | | | | | | | 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>
* rtmp: Don't blindly skip the 4 trailer bytes from the FLV packetsMartin Storsjö2011-09-201-3/+19
| | | | | | | | | | | | | | | | 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>
* rtmp: Handle FLV packets written in more than one write callChiranjeevi Melam2011-09-201-3/+5
| | | | | | | | | | 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>
* movenc: fix NULL reference in mov_write_tkhd_tagAnton Khirnov2011-09-191-1/+1
| | | | | st may be NULL when there are more mov streams than AVStreams, e.g. when chapters are present.
* rmdec: Reject invalid deinterleaving parametersLaurent Aimar2011-09-191-26/+31
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rmdec: use the deinterleaving mode and not the codec when creating audio ↵Laurent Aimar2011-09-191-1/+2
| | | | | | | | packets. It prevents crashes due to non initialized fields. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: Fix context pointer in av_open_input_stream when avformat_open_input failsDavid Goldwich2011-09-191-1/+1
| | | | | Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggdec: fix out of bound write in the ogg demuxerLaurent Aimar2011-09-171-2/+12
| | | | | | | Between ogg_save() and ogg_restore() calls, the number of streams could have been reduced. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* movenc: create an alternate group for each media typeAnton Khirnov2011-09-171-1/+2
| | | | Partially fixes bug 44.
* rawdec: refactor private option for raw video demuxersAnton Khirnov2011-09-174-17/+34
| | | | | | | | pixel_format/video_size only apply to 'rawvideo' (==uncompressed) demuxer and make no sense for the other raw (== containerless) demuxers. Keep only the framerate option for those. Also use unique classes for all raw video demuxers
* pcmdec: use unique classes for all pcm demuxers.Anton Khirnov2011-09-173-15/+15
|
* rawdec: g722 is always 1 channel/16kHzAnton Khirnov2011-09-171-4/+5
|
* Fixed size given to init_get_bits().Laurent Aimar2011-09-151-1/+1
| | | | | | | init_get_bits() takes a number of bits and not a number of bytes as its size argument. Signed-off-by: Alex Converse <alex.converse@gmail.com>
* matroskadec: fix typo.Dustin Brody2011-09-151-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: bail on parsing of incorrect seek index segmentsDustin Brody2011-09-151-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf utils: Remove write-only variableAlex Converse2011-09-141-2/+1
|
* lavf utils: Rename shadowing variableAlex Converse2011-09-141-4/+4
|
* Fixed off by one packet size allocation in the smacker demuxer.Laurent Aimar2011-09-121-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Check for invalid packet size in the smacker demuxer.Laurent Aimar2011-09-121-0/+2
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ape demuxer: fix segfault on memory allocation failure.Laurent Aimar2011-09-121-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* smacker demuxer: handle possible av_realloc() failure.Kostya Shishkov2011-09-121-1/+6
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mpegts: improve error reportingGeorgi Chorbadzhiyski2011-09-111-1/+3
| | | | | | When reporting continuity error show pid, expected and received cc. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: on seek, reset the cc for all PIDsAviad Rozenhek2011-09-111-5/+7
| | | | | | Prevent false positive continuity counter error logs. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Employ FF_ARRAY_ELEMS instead of manually calculating array length.Diego Biurrun2011-09-082-2/+4
|
* rtpdec_asf: Fix integer underflow that could allow remote code executionMichael Niedermayer2011-09-071-1/+7
| | | | | | | | Fixes MSVR-11-0088. Credit: Jeong Wook Oh of Microsoft and Microsoft Vulnerability Research (MSVR) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Martin Storsjö <martin@martin.st>
* Add LATM muxerKieran Kunhya2011-09-074-1/+193
| | | | Signed-off-by: Janne Grunau <janne-libav@jannau.net>
* libx264: add 'direct-pred' private optionAnton Khirnov2011-09-072-2/+0
| | | | Deprecate AVCodecContext.directpred
* libx264: add 'partitions' private optionAnton Khirnov2011-09-072-2/+0
| | | | Deprecate AVCodecContext.partitions.
* http: Consider the stream as seekable if the reply contains Accept-Ranges: bytesStefan Fritsch2011-09-041-0/+2
| | | | | | | | | | | | The initial request contains "Range: 0-", which servers normally have responded with "HTTP/1.1 206 Partial Content" reply with a Content-Range header, which was used as indicator for seekability. Apache, since 2.2.20, responds with "HTTP/1.1 200 OK" for these requests, which is more friendly to caches and proxies, but the seekability still is indicated via the Accept-Ranges: bytes header. Signed-off-by: Martin Storsjö <martin@martin.st>
* nutenc: add namespace to the api facing functionsLuca Barbato2011-09-041-6/+6
| | | | | Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer} in order to make easier debugging them.
* lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.Anton Khirnov2011-09-033-1/+14
|
* AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().Anton Khirnov2011-09-031-1/+1
| | | | | It allows to search for options only with AVClass, without allocating the corresponding context.
* isom: add missing AVC-Intra tags, rearrange list and update commentsTomas Härdin2011-08-291-5/+12
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Use deinterleavers for demangling audio packets in RealMedia.Kostya Shishkov2011-08-271-12/+34
| | | | | | | | | | Unlike other containers RealMedia stores its audio packets in scrambled form, with interleaver ID preceeding audio codec ID. Currently deinterleaving decision is tied to the codec while it's possible to have non-default deinterleaver with audio codec (like Int0 deinterleaver instead of specific one for Sipro). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* fifo: add av_fifo_peek2(), and deprecate av_fifo_peek()Stefano Sabatini2011-08-261-2/+2
| | | | | | | The new function provides a more generic interface than av_fifo_peek() for peeking at a FIFO buffer data. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace deprecated av_find_stream_info() by avformat_find_stream_info().Diego Biurrun2011-08-261-1/+1
|
* xmv: eliminate superfluous zeroing of zero dataSven Hesse2011-08-261-11/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mp4: Handle non-trivial ES Descriptors.Alex Converse2011-08-254-4/+19
|
* lavf utils: Fix bad indentation.Alex Converse2011-08-231-33/+34
|
* Windows Media Image decoder (WMVP/WVP2)Alberto Delmás2011-08-231-2/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* movenc: use libx264 by default when possible for mov, mp4 and pspAnton Khirnov2011-08-221-0/+12
|
* avienc: saner default audio codec.Anton Khirnov2011-08-221-1/+5
| | | | libmp3lame if available, ac3 otherwise.
OpenPOWER on IntegriCloud