Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prefer avio_check() over url_exist() | Stefano Sabatini | 2011-04-19 | 1 | -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_* symbols | Stefano Sabatini | 2011-04-19 | 23 | -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 Khirnov | 2011-04-19 | 1 | -13/+0 |
| | |||||
* | lavf: remove FF_API_INDEX_BUILT cruft | Anton Khirnov | 2011-04-19 | 2 | -6/+0 |
| | |||||
* | lavf: remove FF_API_URL_CLASS cruft. | Anton Khirnov | 2011-04-19 | 4 | -42/+26 |
| | |||||
* | lavf: remove FF_API_SYMVER cruft | Anton Khirnov | 2011-04-19 | 2 | -35/+0 |
| | |||||
* | lavf: remove FF_API_FIRST_FORMAT cruft | Anton Khirnov | 2011-04-19 | 3 | -16/+2 |
| | |||||
* | lavf: remove FF_API_PARAMETERS_CODEC_ID cruft | Anton Khirnov | 2011-04-19 | 2 | -7/+0 |
| | |||||
* | lavf: remove FF_API_LAVF_UNUSED cruft | Anton Khirnov | 2011-04-19 | 2 | -12/+0 |
| | |||||
* | lavf: remove FF_API_PARSE_FRAME_PARAM cruft | Anton Khirnov | 2011-04-19 | 3 | -37/+0 |
| | |||||
* | lavf: remove FF_API_ALLOC_FORMAT_CONTEXT cruft | Anton Khirnov | 2011-04-19 | 3 | -17/+0 |
| | |||||
* | lavf: remove FF_API_URL_SPLIT cruft | Anton Khirnov | 2011-04-19 | 3 | -33/+0 |
| | |||||
* | lavf: remove FF_API_UDP_GET_FILE cruft | Anton Khirnov | 2011-04-19 | 3 | -11/+1 |
| | |||||
* | lavf: remove FF_API_GUESS_FORMAT cruft | Anton Khirnov | 2011-04-19 | 3 | -44/+0 |
| | |||||
* | lavf: remove FF_API_REGISTER_PROTOCOL cruft | Anton Khirnov | 2011-04-19 | 3 | -42/+0 |
| | |||||
* | lavf: remove FF_API_URL_RESETBUF cruft | Anton Khirnov | 2011-04-19 | 3 | -22/+0 |
| | |||||
* | lavf: remove FF_API_OLD_METADATA cruft | Anton Khirnov | 2011-04-19 | 8 | -228/+0 |
| | |||||
* | lavf: remove FF_API_MAX_STREAMS cruft | Anton Khirnov | 2011-04-19 | 6 | -32/+0 |
| | |||||
* | Bump major versions of all libraries. | Anton Khirnov | 2011-04-18 | 1 | -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 Biurrun | 2011-04-18 | 1 | -1/+1 |
| | |||||
* | asfdec: Remove dead code from asf_read_close(). | Diego Biurrun | 2011-04-18 | 1 | -5/+1 |
| | |||||
* | Replace more FFmpeg references by Libav. | Diego Biurrun | 2011-04-17 | 5 | -5/+5 |
| | |||||
* | make containers pass palette change in AVPacket | Kostya Shishkov | 2011-04-15 | 7 | -38/+71 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | xwma: Fix wrong printf format expression. | Diego Biurrun | 2011-04-15 | 1 | -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: typos | Max Horn | 2011-04-15 | 1 | -2/+2 |
| | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> | ||||
* | oggdec: simplify audio chained ogg streams support | Clément Bœsch | 2011-04-15 | 2 | -8/+1 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | handle malloc failures in ff_get_wav_header | Max Horn | 2011-04-14 | 9 | -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 demuxer | Max Horn | 2011-04-14 | 4 | -1/+257 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | mpegts: force the default timebase | Rudolf Polzer | 2011-04-14 | 1 | -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 API | Anton Khirnov | 2011-04-13 | 4 | -5/+10 |
| | | | | It's been deprecated only a few months ago, long after 0.6. | ||||
* | lavf: postpone removal of deprecated avio functions | Anton Khirnov | 2011-04-13 | 1 | -1/+1 |
| | | | | They've been deprecated very recently. | ||||
* | applehttp: Only check the discard flags if v->ctx actually is initialized | Martin Storsjö | 2011-04-13 | 1 | -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 changes | Anton Khirnov | 2011-04-13 | 1 | -1/+1 |
| | |||||
* | avio: deprecate url_exist in favor of avio_check. | Anton Khirnov | 2011-04-13 | 2 | -2/+5 |
| | |||||
* | file: implement url_check() callback in the file and pipe protocols | Stefano Sabatini | 2011-04-13 | 1 | -0/+16 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | avio: add avio_check() | Stefano Sabatini | 2011-04-13 | 3 | -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 bump | Anton Khirnov | 2011-04-13 | 1 | -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 Sessak | 2011-04-12 | 1 | -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 cases | Martin Storsjö | 2011-04-12 | 1 | -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 names | Anton Khirnov | 2011-04-12 | 6 | -35/+36 |
| | | | | It seems their replacements won't be ready anytime soon. | ||||
* | flvdec: Fix support for flvtool2 "keyframes based" generated index | Kharkov Alexander | 2011-04-12 | 1 | -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 Biurrun | 2011-04-11 | 1 | -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 Khirnov | 2011-04-10 | 1 | -0/+13 |
| | |||||
* | Parse sprite data for WMVP and WVP2, and decode sprites for the latter | Alberto Delmás | 2011-04-10 | 1 | -0/+1 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | avio: document some members of AVIOContext. | Anton Khirnov | 2011-04-10 | 1 | -4/+9 |
| | |||||
* | avio: document avio_close(). | Anton Khirnov | 2011-04-10 | 1 | -0/+6 |
| | |||||
* | avio: cosmetics, vertically align comments. | Anton Khirnov | 2011-04-10 | 1 | -5/+5 |
| | |||||
* | avio: cosmetics, group the reading functions. | Anton Khirnov | 2011-04-10 | 1 | -6/+14 |
| | |||||
* | avio: cosmetics, merge all the FF_API_OLD_AVIO blocks. | Anton Khirnov | 2011-04-10 | 1 | -112/+84 |
| | |||||
* | avio: cosmetics, move AVIOContext to start of the file. | Anton Khirnov | 2011-04-10 | 1 | -38/+39 |
| |