summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
* Fix mov debug (u)int64_t format strings.Alex Converse2011-04-22
|
* applehttp: Handle AES-128 encrypted streamsMartin Storsjö2011-04-23
| | | | | | | | | | This should hopefully fix roundup issue 2586. This commit only implements it in the demuxer, not in the protocol handler. If desired, some of the code could be refactored to be shared by both implementations. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add a protocol handler for AES CBC decryption with PKCS7 paddingMartin Storsjö2011-04-23
| | | | | | | | | | | | This can later be extended to support other AES bit sizes, encryption, other crypto algorithms, reading the key from a URL, etc. In order to use it, the key and initialization vector has to be passed via AVOptions. Since such options can't be passed to protocols from the command line, the protocol is currently only for libavformat internal use. Signed-off-by: Martin Storsjö <martin@martin.st>
* Use av_log_ask_for_sample() to request samples from users.Diego Biurrun2011-04-22
|
* applehttp: Expose the stream bitrate via metadataMartin Storsjö2011-04-21
| | | | | | | This helps callers to intelligently switch between bitrate variants. Signed-off-by: Martin Storsjö <martin@martin.st>
* error: remove AVERROR_NUMEXPECTEDStefano Sabatini2011-04-21
| | | | | | | | | | | AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and has a too much specific meaning, which is better explained through a log message. Thus it can be replaced by AVERROR(EINVAL). This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* oggdec: use av_freep() instead of av_free()Michael Niedermayer2011-04-20
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: Fix sanity checks in ffurl_read*Martin Storsjö2011-04-20
| | | | | | | This fixes e.g. reading data over HTTP, where the underlying socket is set to read/write. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libavformat: Free AVFormatContext->streamsMartin Storsjö2011-04-20
| | | | | | | | After switching this from a statically allocated array to a dynamically allocated one in the major bump, this needs explicit freeing. Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Make protocols pass URLContext as log context where availableMartin Storsjö2011-04-20
| | | | | | | Since the libavformat major bump, URLContext contains an AVClass, making it a usable log context. Signed-off-by: Martin Storsjö <martin@martin.st>
* asf: remove commented out code in asf_read_seekVladimir Pantelic2011-04-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* prefer avio_check() over url_exist()Stefano Sabatini2011-04-19
| | | | | | | | | | | | | | The problem with url_exist() is that it tries to open a resource in RDONLY mode. If the file is a FIFO and there is already a reading client, the open() call will hang. By using avio_check() with access mode of 0, the second reading process will check if the file exists without attempting to open it, thus avoiding the lock. Fix issue #1663. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbolsStefano Sabatini2011-04-19
| | | | | | | | Make AVIO_FLAG_ access constants work as flags, and in particular fix the behavior of functions (such as avio_check()) which expect them to be flags rather than modes. This breaks API.
* lavf: remove misc disabled cruft.Anton Khirnov2011-04-19
|
* lavf: remove FF_API_INDEX_BUILT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_URL_CLASS cruft.Anton Khirnov2011-04-19
|
* lavf: remove FF_API_SYMVER cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_FIRST_FORMAT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_PARAMETERS_CODEC_ID cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_LAVF_UNUSED cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_PARSE_FRAME_PARAM cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_URL_SPLIT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_UDP_GET_FILE cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_GUESS_FORMAT cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_REGISTER_PROTOCOL cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_URL_RESETBUF cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_OLD_METADATA cruftAnton Khirnov2011-04-19
|
* lavf: remove FF_API_MAX_STREAMS cruftAnton Khirnov2011-04-19
|
* Bump major versions of all libraries.Anton Khirnov2011-04-18
| | | | | | They've accumulated enough new APIs and corresponding deprecated cruft. This breaks API and ABI.
* Replace mplayerhq.hu URLs by libav.org.Diego Biurrun2011-04-18
|
* asfdec: Remove dead code from asf_read_close().Diego Biurrun2011-04-18
|
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* make containers pass palette change in AVPacketKostya Shishkov2011-04-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* xwma: Fix wrong printf format expression.Diego Biurrun2011-04-15
| | | | | | | | Also add inttypes.h #include for PRId64 macros. This fixes the following warnings: libavformat/xwma.c:147: warning: too many arguments for format libavformat/xwma.c:151: warning: too many arguments for format
* xwma demuxer: typosMax Horn2011-04-15
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: simplify audio chained ogg streams supportClément Bœsch2011-04-15
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-14
| | | | | | | | | | | ff_get_wav_header is reading data from a WAVE file and then uses it (without validation) to malloc a buffer. It then proceeded to read data into the buffer, without verifying that the allocation succeeded. To address this, change ff_get_wav_header to return an error if allocation failed, and adapted all calling code to handle that error. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* add xWMA demuxerMax Horn2011-04-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: force the default timebaseRudolf Polzer2011-04-14
| | | | | | | The mpegts muxer does not set the stream time base using av_set_pts_info, but expects it to have the default value of 1/90000. If the calling code changes stream pts before writing the header, other muxers override the time base at that point (like mpegenc.c).
* lavf: postpone removal of public metadata conversion APIAnton Khirnov2011-04-13
| | | | It's been deprecated only a few months ago, long after 0.6.
* lavf: postpone removal of deprecated avio functionsAnton Khirnov2011-04-13
| | | | They've been deprecated very recently.
* applehttp: Only check the discard flags if v->ctx actually is initializedMartin Storsjö2011-04-13
| | | | | | | This code could be executed if the demuxer reads more than one segment before returning from av_open_input_stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: bump minor and add an APIChanges entry for the last avio changesAnton Khirnov2011-04-13
|
* avio: deprecate url_exist in favor of avio_check.Anton Khirnov2011-04-13
|
* file: implement url_check() callback in the file and pipe protocolsStefano Sabatini2011-04-13
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: add avio_check()Stefano Sabatini2011-04-13
| | | | | | | | The new function is more flexible than url_exist(), as it allows to specify which access flags to check, and does not require an explicit open of the checked resource. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: left-shift AVIO_ flags on next bumpAnton Khirnov2011-04-13
| | | | Now AVIO_RDONLY is defined as 0, so it's not usable as a flag.
* lavf/utils.c: Order packets with identical PTS by stream index.Vitor Sessak2011-04-12
| | | | | | This allows for more reproducible results when using multi-threading. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* flvdec: Allow parsing keyframes metadata without seeking in most casesMartin Storsjö2011-04-12
| | | | | | | | | | | | | Stop the avio input at a point where amf_parse_object can continue parsing the end of the object seamlessly, when all data is available. If unsupported data is encountered within the keyframes object, try seeking to the start of the keyframes object - if the seek back was successful, the caller can continue parsing the rest of the AMF data. Signed-off-by: Martin Storsjö <martin@martin.st>