summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* mxfdec: set extradata sizeAnton Khirnov2013-11-29
| | | | | The line setting it was mistakenly removed in ecf442a58b09bdb1dc1d2c3904b82ac5f79b2878
* MSN Audio supportKostya Shishkov2013-11-26
| | | | | | | This is essentially a MS GSM decoder extension that supports more sampling rates and lower bitrates. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* build: Integrate multilibrary examples into the build systemDiego Biurrun2013-11-25
| | | | This includes moving libavformat/output-example to doc/examples/output.
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* hls: Avoid reading outside of the allocated arrayMartin Storsjö2013-11-22
| | | | | CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* hls: Check whether the AVIOContext contains a new redirected URLMartin Storsjö2013-11-22
| | | | | | | This allows both the main playlist itself as well as the variant playlists to handle redirects combined with relative URLs. Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Expose the content location via an AVOptionMartin Storsjö2013-11-22
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Support relative URL redirectionZhang Rui2013-11-22
| | | | | | | | | In RFC 2616, this was explicitly said to be an absolute URL, while in an upcoming draft [1] it is allowed to be relative as well. [1] http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-25#section-7.1.2 Signed-off-by: Martin Storsjö <martin@martin.st>
* http: Remove an unrelated and mistakenly set AVOption unit nameMartin Storsjö2013-11-22
| | | | | | This was due to a copypaste oversight. Signed-off-by: Martin Storsjö <martin@martin.st>
* avidec: fix a memleak in the dv init code.Anton Khirnov2013-11-21
| | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* matroskadec: use correct compression parameters for current track CodecPrivateAurelien Jacobs2013-11-21
| | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: pad EBML_BIN data.Anton Khirnov2013-11-21
| | | | | | | | It might be passed to code requiring padding, such as lzo decompression. Fixes invalid reads. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC:libav-stable@libav.org
* rtmphttp: Check for both 0 and AVERROR_EOFValeriy Argunov2013-11-18
| | | | | | This makes RTMPT work again - it was broken by 5d876be87a. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all instances of avcodec_alloc_frame() with av_frame_alloc().Anton Khirnov2013-11-16
|
* dv: Split DV data table declarations into their own headerDiego Biurrun2013-11-15
| | | | | | This is necessary to avoid target config settings bleeding into the host compilation process with hardcoded tables and the DV VLC tables no longer present as static tables in a header file.
* lavf: improve support for AVC-Intra files.Reimar Döffinger2013-11-14
| | | | | | | | Generate extradata with SPS/PPS based on container dimensions. Authors of this commit are: Reimar and Thomas Mundt Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mxfdec: update current edit unit when seeking in mxf files without index tablesMarton Balint2013-11-14
| | | | | | | | Fixes audio packet pts values in some files generated by AVID TRMG 3.01. Signed-off-by: Marton Balint <cus@passwd.hu> Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avienc: drop the vfr flag.Anton Khirnov2013-11-08
| | | | | AVI does not really support vfr properly, only by padding with null packets.
* omadec: loosen format probing constraintsDavid Goldwich2013-11-04
| | | | | | | | | | Imporoves detection of some files in the wild: - ID3v2 a.k.a. "ea3" header is optional. - Version and flags in ID3v2 header are unspecified. Signed-off-by: David Goldwich <david.goldwich@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* omadec: check GEOB sizes against buffer sizeMichael Niedermayer2013-11-04
| | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: David Goldwich <david.goldwich@gmail.com> CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* omadec: Fix wrong number of array elementsMichael Niedermayer2013-11-04
| | | | | | | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: David Goldwich <david.goldwich@gmail.com> CC:libav-stable@libav.org Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rtmpproto: Reorder conditions to help dead code eliminationVittorio Giovara2013-11-03
| | | | | This makes sure that these branches are eliminated properly with clang with optimizations disabled.
* wtv: fix variable sign in formatVittorio Giovara2013-11-03
|
* os_support: Add #endif comments for better readabilityDiego Biurrun2013-11-02
|
* Add an HDS live fragmenting muxerMartin Storsjö2013-11-02
| | | | | | | HDS fragments basically are FLV fragments wrapped in an ISO media mdat atom. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: do not use int to store an int64Anton Khirnov2013-11-01
|
* rtspenc: Make sure BYE packets are sent before TEARDOWNMartin Storsjö2013-11-01
| | | | | | | Also make sure the BYE packets are sent at all when using TCP interleaved transport. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Add a rtpflag option for sending BYE packets when finishingMartin Storsjö2013-11-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpenc: Remove some superfluous parenthesesMartin Storsjö2013-11-01
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* aviobuf: Handle a NULL buffer in avio_close_dyn_bufMartin Storsjö2013-11-01
| | | | | | | | | | | | This simplifies proper error handling in rtsp.c/rtspdec.c. When broadcasting over RTSP in TCP mode, the AVIOContext is closed and recreated for each sent packet, and if the recreation fails, we might try to close a NULL buffer when freeing things at the end. Previously, if recreating the buffer in rtspdec.c failed, this would crash later due to trying to close a NULL buffer. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegts: Support HEVC demuxingMickaël Raulet2013-10-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* matroskadec: Support HEVC demuxingYusuke Nakamura2013-10-31
|
* mov: Support HEVC demuxingYusuke Nakamura2013-10-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Add raw HEVC demuxerDirk Farin2013-10-31
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggparsetheora: stop using deprecated avcodec_set_dimensionsAnton Khirnov2013-10-31
|
* HNM4/HNM4A demuxer & video decoderDavid Kment2013-10-31
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavf: Remove a now useless parameter to ffurl_register_protocolMartin Storsjö2013-10-30
| | | | | | | | | | | | | | This was added in 9b07a2dc02e9 as an ABI hack to allow older code built with lavf 52 to register protocols even if the size of the URLProtocol struct was increased. Later, registering protocols from outside of lavf was removed and this workaround isn't needed any longer since lavf 53. This removes an unchecked malloc and a memory leak for the cases when this workaround actually was used - which it hasn't since lavf 53. Signed-off-by: Martin Storsjö <martin@martin.st>
* oggparsetheora: check av_mallocz resultAnton Khirnov2013-10-30
|
* oggparsetheora: return meaningful error codesAnton Khirnov2013-10-30
|
* oggparsetheora: K&R cosmetics, reformatAnton Khirnov2013-10-30
| | | | | | | | Also typedef the private data struct and make its name consistent with the rest of Libav. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add a dummy field to AVStream to preserve ABI compatibility for avconvAnton Khirnov2013-10-29
| | | | | | | | avconv abuses the API by accessing AVStream.parser (which is private). Removing AVStream.reference_dts in 2ba68dd044ca8fc591139c05563840f546a9c0c0 breaks ABI compatibility for an old avconv using a newer lavf. Fix this by adding a dummy field until the next bump.
* avio: Check for memory allocation failure of private dataDerek Buitenhuis2013-10-29
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* lavf: do not export av_register_{rtp,rdt}_dynamic_payload_handlers from ↵Anton Khirnov2013-10-28
| | | | shared objects
* lavf: remove unreliable timestamp guessing heuristicAnton Khirnov2013-10-28
|
* avio: K&R formatting cosmeticsLuca Barbato2013-10-28
|
* movenc: Add an F4V muxerClément Bœsch2013-10-23
| | | | | | | | F4V is Adobe's mp4/iso media variant, with the most significant addition/change being supporting other flash codecs than just aac/h264. Signed-off-by: Martin Storsjö <martin@martin.st>
* nut: Fix unchecked allocationsDerek Buitenhuis2013-10-22
| | | | | CC: libav-stable@libav.org Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avio: Use AVERROR_PROTOCOL_NOT_FOUNDLuca Barbato2013-10-21
| | | | | | | | When the protocol is missing ffurl_alloc() should return AVERROR_PROTOCOL_NOT_FOUND instead of AVERROR(ENOENT). Bug-Id: 577 CC: libav-stable@libav.org
* wtv: Seek by sector properlyLuca Barbato2013-10-18
| | | | | | | | | Use an helper function to seek by sector to avoid possible mistakes due shifting by WTV_SECTOR_BITS a 32bit integer. Contrary to common intuition, a 32 bit integer left shifted by a 64 bit integer does not promote the 32 bit integer to 64 bit before shifting.
* http: Check the auth string contents and not only the pointerMichael Niedermayer2013-10-14
| | | | | | | This makes sure we don't send the Except: 100-continue header if no authentication credentials have been provided. Signed-off-by: Martin Storsjö <martin@martin.st>