summaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* prefer avio_check() over url_exist()Stefano Sabatini2011-04-191-3/+3
| | | | | | | | | | | | | | 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-1923-63/+62
| | | | | | | | 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-191-13/+0
|
* lavf: remove FF_API_INDEX_BUILT cruftAnton Khirnov2011-04-192-6/+0
|
* lavf: remove FF_API_URL_CLASS cruft.Anton Khirnov2011-04-194-42/+26
|
* lavf: remove FF_API_SYMVER cruftAnton Khirnov2011-04-192-35/+0
|
* lavf: remove FF_API_FIRST_FORMAT cruftAnton Khirnov2011-04-193-16/+2
|
* lavf: remove FF_API_PARAMETERS_CODEC_ID cruftAnton Khirnov2011-04-192-7/+0
|
* lavf: remove FF_API_LAVF_UNUSED cruftAnton Khirnov2011-04-192-12/+0
|
* lavf: remove FF_API_PARSE_FRAME_PARAM cruftAnton Khirnov2011-04-193-37/+0
|
* lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruftAnton Khirnov2011-04-193-17/+0
|
* lavf: remove FF_API_URL_SPLIT cruftAnton Khirnov2011-04-193-33/+0
|
* lavf: remove FF_API_UDP_GET_FILE cruftAnton Khirnov2011-04-193-11/+1
|
* lavf: remove FF_API_GUESS_FORMAT cruftAnton Khirnov2011-04-193-44/+0
|
* lavf: remove FF_API_REGISTER_PROTOCOL cruftAnton Khirnov2011-04-193-42/+0
|
* lavf: remove FF_API_URL_RESETBUF cruftAnton Khirnov2011-04-193-22/+0
|
* lavf: remove FF_API_OLD_METADATA cruftAnton Khirnov2011-04-198-228/+0
|
* lavf: remove FF_API_MAX_STREAMS cruftAnton Khirnov2011-04-196-32/+0
|
* Bump major versions of all libraries.Anton Khirnov2011-04-181-2/+2
| | | | | | 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-181-1/+1
|
* asfdec: Remove dead code from asf_read_close().Diego Biurrun2011-04-181-5/+1
|
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-175-5/+5
|
* make containers pass palette change in AVPacketKostya Shishkov2011-04-157-38/+71
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* xwma: Fix wrong printf format expression.Diego Biurrun2011-04-151-2/+6
| | | | | | | | 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-151-2/+2
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* oggdec: simplify audio chained ogg streams supportClément Bœsch2011-04-152-8/+1
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* handle malloc failures in ff_get_wav_headerMax Horn2011-04-149-10/+36
| | | | | | | | | | | 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-144-1/+257
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegts: force the default timebaseRudolf Polzer2011-04-141-0/+1
| | | | | | | 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-134-5/+10
| | | | It's been deprecated only a few months ago, long after 0.6.
* lavf: postpone removal of deprecated avio functionsAnton Khirnov2011-04-131-1/+1
| | | | They've been deprecated very recently.
* applehttp: Only check the discard flags if v->ctx actually is initializedMartin Storsjö2011-04-131-4/+7
| | | | | | | 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-131-1/+1
|
* avio: deprecate url_exist in favor of avio_check.Anton Khirnov2011-04-132-2/+5
|
* file: implement url_check() callback in the file and pipe protocolsStefano Sabatini2011-04-131-0/+16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: add avio_check()Stefano Sabatini2011-04-133-0/+38
| | | | | | | | 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-131-0/+10
| | | | 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-121-1/+4
| | | | | | 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-121-2/+11
| | | | | | | | | | | | | 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>
* avio: undeprecate av_url_read_fseek/fpause under nicer namesAnton Khirnov2011-04-126-35/+36
| | | | It seems their replacements won't be ready anytime soon.
* flvdec: Fix support for flvtool2 "keyframes based" generated indexKharkov Alexander2011-04-121-1/+2
| | | | | | | | | | | Current keyframes data parser unconditionally rewind metadata to the end at the end of function. As result ALL metadata located after keyframes index not parsed, and as metadata object can have ANY placement inside metadata it can lead to unpredictable result (bitrate can not be found, etc.). As result FLV movie will not play at all in such situation. Signed-off-by: Martin Storsjö <martin@martin.st>
* Fix compilation of timefilter test program.Diego Biurrun2011-04-111-0/+2
| | | | | | | The printf function is forbidden in library code, but not in test programs, so #undefine the printf macro that disables the system printf function. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avio: add more documentation for AVIOContext.Anton Khirnov2011-04-101-0/+13
|
* Parse sprite data for WMVP and WVP2, and decode sprites for the latterAlberto Delmás2011-04-101-0/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avio: document some members of AVIOContext.Anton Khirnov2011-04-101-4/+9
|
* avio: document avio_close().Anton Khirnov2011-04-101-0/+6
|
* avio: cosmetics, vertically align comments.Anton Khirnov2011-04-101-5/+5
|
* avio: cosmetics, group the reading functions.Anton Khirnov2011-04-101-6/+14
|
* avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.Anton Khirnov2011-04-101-112/+84
|
* avio: cosmetics, move AVIOContext to start of the file.Anton Khirnov2011-04-101-38/+39
|
OpenPOWER on IntegriCloud