summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* movenc: K&R formatting cosmeticsMartin Storsjö2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Makefile: Remove stray tabsMichael Niedermayer2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* yuv4mpeg: Correctly round chroma up for odd luma sizesRonald S. Bultje2013-07-07
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rmdec: Use the AVIOContext given as parameter in rm_read_metadata()Michael Niedermayer2013-07-07
| | | | | | | | | | | | | | | This fixes crashes when playing back certain RealRTSP streams. When invoked from the RTP depacketizer, the full realmedia demuxer isn't invoked, but only certain functions from it, where a separate AVIOContext is passed in as parameter (for the buffer containing the data to parse). The functions called from within those entry points should only be using that parameter, not s->pb. In the depacketizer case, s is the RTSP context, where ->pb is null. Cc: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Handle AVERROR_EOF in the same way as the return value 0Michael Niedermayer2013-07-07
| | | | | | | | | This makes sure the ffurl_read_complete function actually returns the number of bytes read, as the documentation of the function says, even if the underlying protocol uses AVERROR_EOF instead of 0. Signed-off-by: Martin Storsjö <martin@martin.st>
* wtv: Mark attachment with a negative stream idLuca Barbato2013-07-07
| | | | | | | | | A sid 0 would be mismatched to the attachment. Prevent NULL pointer dereference. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* tests: Only run noproxy test if networking is enabledDiego Biurrun2013-07-06
|
* oggdec: do not fall back on binary search in the generic code.Anton Khirnov2013-07-02
| | | | | Binary search is already attempted in the format-specific seek function, so the fallback is only reached if binary search failed already.
* lavf: don't abort if both encoder and muxer aspect ratios are not setRafaël Carré2013-06-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskaenc: restore compatibility with non referenced AVPacketRafaël Carré2013-06-24
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ogg: relax demuxer conformance checksLuca Barbato2013-06-22
| | | | | Some samples in the wild are missing headers that are expected by the specification but in practice do not affect decoding.
* smacker: check frame size validityKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* smacker: pad the extradata allocationKostya Shishkov2013-06-16
| | | | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avf: move url utility functions in a separate fileLuca Barbato2013-06-16
|
* avf: move ff_write_chained to mux.cLuca Barbato2013-06-16
|
* avf: move riff tags accessors where they belongLuca Barbato2013-06-16
|
* avf: move ff_http_match_no_proxy to networkLuca Barbato2013-06-16
| | | | It is only used by network protocols.
* avf: split off format register and lookup functionLuca Barbato2013-06-16
|
* 4xm: do not overread while parsing headerLuca Barbato2013-06-12
| | | | | Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
* 4xm: refactor fourxm_read_headerLuca Barbato2013-06-12
| | | | Split sound and video tag parsing in separate functions.
* 4xm: K&R formatting cosmeticsLuca Barbato2013-06-12
|
* matroskadec: introduce resync function.Sean McGovern2013-06-10
| | | | | | | | | | This allows handling matroska files with errors. Fixes test4.mkv and test7.mkv from the official Matroska test suite, and by extension Bugzilla #62. Based on a patch by Reimar Doffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* riff: Support ULH0 and ULH2 fourccs.Yusuke Nakamura2013-06-10
| | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* rtpdec: Fix the alphabetical ordering in registering depacketizersMartin Storsjö2013-06-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Fix standalone compilation of the webm muxerMartin Storsjö2013-06-06
| | | | | | | The missing object file was added to the matroska muxer already, but not to the webm muxer. Signed-off-by: Martin Storsjö <martin@martin.st>
* apetag: use int64_t for filesizeAnton Khirnov2013-06-04
| | | | CC: libav-stable@libav.org
* network: uniform ff_listen_bind and ff_listen_connectLuca Barbato2013-06-04
| | | | | Document the functions and have both use a millisecond timeout and check for interrupt.
* movenc: Grow the frag_info array in chunksAndrey Semashev2013-06-04
| | | | | | | | Previously it was grown one element at a time, which leads to excessive reallocations. Bug-Id: 525 Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Increase the cluster array allocation by doublingAndrey Semashev2013-06-04
| | | | | | | | | | | | | | The previous allocation increment of 16384 meant that the cluster array was allocated for 0.6 MB initially, which is a bit excessive for cases with fragmentation where only a fraction of that ever actually is used. Therefore, start off at a much smaller value, and increase by doubling (to avoid reallocating too often when writing long non-fragmented mp4 files). Bug-Id: 525 Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Keep track of the allocated size for the cluster arrayAndrey Semashev2013-06-04
| | | | | | | | | | | | | When writing fragmented mp4, the cluster array is reset when a fragment is written. Instead of starting off reallocating the array only based on the number of current elements in it, keep track of how many elements there were allocated earlier. This avoids reallocating this array needlessly when writing fragmented mp4 files. Bug-Id: 525 Signed-off-by: Martin Storsjö <martin@martin.st>
* movenc: Change the track struct name to match the typedefMartin Storsjö2013-06-03
| | | | | | | | This makes the struct name (which isn't used anywhere) match the name of the typedef, as for all the other structs declared in this header. Signed-off-by: Martin Storsjö <martin@martin.st>
* Go2Webinar decoderKostya Shishkov2013-06-03
|
* nsvdec: Remove commented-out debug cruftDiego Biurrun2013-06-02
|
* network: factor out connect-listening codeLuca Barbato2013-06-01
| | | | | Introduce ff_listen_connect, to be shared with the other non-tcp network protocols.
* network: factor out bind-listening codeLuca Barbato2013-06-01
| | | | | Introduce ff_listen_bind, to be shared with the other non-tcp network protocols.
* use my full first name instead of short one in copyrightsKostya Shishkov2013-06-01
|
* lavf: add a raw WavPack muxer.Anton Khirnov2013-05-28
|
* apetag: add support for writing APE tagsAnton Khirnov2013-05-28
| | | | This will be useful in the WavPack muxer.
* matroskaenc: support muxing WavPackAnton Khirnov2013-05-28
|
* wvdec: split block header parsing into a separate fileAnton Khirnov2013-05-28
| | | | It will be reused by other muxers and demuxers.
* lavf: rename wv.c to wvdec.cAnton Khirnov2013-05-28
| | | | wv.c will be used for shared wavpack functions.
* smacker: assign video frame PTSKostya Shishkov2013-05-28
|
* matroskadec: export full wavpack blocks.Anton Khirnov2013-05-28
| | | | | This allows us to get rid of demuxer-specific hacks in the decoder and will allow streamcopy from matroska once we have a wavpack muxer.
* wavpack demuxer: export full wavpack blocks.Anton Khirnov2013-05-28
| | | | | | | | Currently the demuxer shaves the blocks and exports only the information that is useful to the decoder. Exporting the blocks just as they are stored is simpler to understand and will make remuxing wavpack easier.
* lavf: preserve side data when parsing packets.Anton Khirnov2013-05-28
|
* matroskadec: silently skip CodecState element.Anton Khirnov2013-05-27
| | | | | mkvmerge apparrently uses it for mpeg1/2 video, but it contains the same information as CodecPrivate, so it can be ignored.
* smacker: fix off-by-one error in palette expanding codeKostya Shishkov2013-05-27
|
* w32pthreads: move from lavc to compat/Anton Khirnov2013-05-24
| | | | It will be used in other places than lavc.
* Escape 130 (RPL) decoderEli Friedman2013-05-18
| | | | | | | | Some fixes provided by Paul B Mahol <onemda@gmail.com> and Michael Niedermayer <michaelni@gmx.at> and me. Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* Apple Intermediate Codec decoderKostya Shishkov2013-05-17
|