Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asfdec: Fix printf format string length modifier | Diego Biurrun | 2013-01-07 | 1 | -1/+1 |
| | |||||
* | asfdec: cosmetics, reformat ff_asf_parse_packet() | Anton Khirnov | 2012-10-24 | 1 | -66/+72 |
| | |||||
* | avformat: Convert some commented-out printf/av_log instances to av_dlog | Diego Biurrun | 2012-10-01 | 1 | -10/+19 |
| | |||||
* | avformat: Remove non-compiling and/or silly commented-out printf/av_log ↵ | Diego Biurrun | 2012-10-01 | 1 | -20/+0 |
| | | | | statements | ||||
* | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | Replace all CODEC_ID_* with AV_CODEC_ID_* | Anton Khirnov | 2012-08-07 | 1 | -8/+8 |
| | |||||
* | Improve descriptiveness of a number of codec and container long names | Diego Biurrun | 2012-07-30 | 1 | -1/+1 |
| | |||||
* | asfdec: read attached pictures. | Anton Khirnov | 2012-07-02 | 1 | -0/+99 |
| | |||||
* | asfdec: Add an option for not searching for the packet markers | Martin Storsjö | 2012-04-07 | 1 | -1/+20 |
| | | | | | | Some streams don't contain these. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | cosmetics: Align muxer/demuxer declarations | Martin Storsjö | 2012-04-06 | 1 | -1/+1 |
| | | | | | | | Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | asf: only set index_read if the index contained entries. | Ronald S. Bultje | 2012-03-28 | 1 | -1/+1 |
| | | | | | This allows falling back to a binary search if the file contains no index, thus fixing seeking in such files (e.g. luckynight.wma). | ||||
* | asf: reset side data elements on packet copy. | Ronald S. Bultje | 2012-03-22 | 1 | -0/+2 |
| | | | | | | | Prevents crash (double free) when free()ing the original packet. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | asfdec: Do not set AVCodecContext.frame_size | Justin Ruggles | 2012-02-29 | 1 | -20/+0 |
| | |||||
* | asf: don't seek back on EOF. | Ronald S. Bultje | 2012-02-28 | 1 | -1/+1 |
| | | | | | | | | | Seeking back on EOF will reset the EOF flag, causing us to re-enter the loop to find the next marker in the ASF file, thus potentially causing an infinite loop. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | asf: error out on ridiculously large minpktsize values. | Ronald S. Bultje | 2012-02-28 | 1 | -1/+5 |
| | | | | | | | They cause various issues further down in demuxing. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | asf: prevent packet_size_left from going negative if hdrlen > pktlen. | Ronald S. Bultje | 2012-02-18 | 1 | -0/+7 |
| | | | | | | | | This prevents failed assertions further down in the packet processing where we require non-negative values for packet_size_left. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org | ||||
* | Move some conditionally used variables into the block where they are used. | Diego Biurrun | 2012-02-13 | 1 | -1/+1 |
| | | | | This allows dropping the av_unused argument from them. | ||||
* | lavf: remove AVFormatParameters from AVFormatContext.read_header signature | Anton Khirnov | 2012-01-27 | 1 | -1/+1 |
| | |||||
* | asfdec: add side data to ASFStream packet instead of output packet. | Justin Ruggles | 2011-12-21 | 1 | -1/+1 |
| | | | | fixes memleak of side data | ||||
* | asf: use packet dts as approximation of pts | John Stebbins | 2011-12-02 | 1 | -1/+1 |
| | | | | | | Having a somehow off seeking is better than having none at all. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | asf: do not call av_read_frame | Luca Barbato | 2011-12-02 | 1 | -1/+1 |
| | | | | The asf_read_pts should read the bitstream directly. | ||||
* | lavf: make av_set_pts_info private. | Anton Khirnov | 2011-11-30 | 1 | -1/+2 |
| | | | | It's supposed to be called only from (de)muxers. | ||||
* | Replace ffmpeg references with more accurate libav* references. | Diego Biurrun | 2011-11-02 | 1 | -1/+1 |
| | |||||
* | lavf: make some seeking functions private | Anton Khirnov | 2011-10-28 | 1 | -1/+1 |
| | | | | | | | Specifically av_update_cur_dts(), av_seek_frame_binary() and av_gen_search(). They are not supposed to be called outside lavf. | ||||
* | lavf: use avpriv_ prefix for ff_new_chapter(). | Anton Khirnov | 2011-10-20 | 1 | -1/+1 |
| | | | | It's used in libavdevice. | ||||
* | lavf,lavd: replace av_new_stream->avformat_new_stream part I. | Anton Khirnov | 2011-10-19 | 1 | -1/+1 |
| | | | | | Trivial replacements with sed are done in this commit: sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' | ||||
* | lavf: use designated initialisers for all (de)muxers. | Anton Khirnov | 2011-07-17 | 1 | -9/+9 |
| | | | | It's more readable and less prone to breakage. | ||||
* | Do not include mathematics.h in avutil.h | Mans Rullgard | 2011-07-03 | 1 | -0/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Remove return statements following infinite loops without break | Mans Rullgard | 2011-07-03 | 1 | -2/+0 |
| | | | | | | | These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | Move some conditionally used code below the appropriate #ifdef. | Diego Biurrun | 2011-07-03 | 1 | -3/+1 |
| | |||||
* | Remove all uses of now deprecated metadata functions. | Anton Khirnov | 2011-06-08 | 1 | -2/+3 |
| | |||||
* | Remove unused variables | Mans Rullgard | 2011-06-02 | 1 | -11/+8 |
| | |||||
* | asfdec: add missing #include for av_bswap32() | Mans Rullgard | 2011-05-19 | 1 | -0/+1 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | asfdec: fix possible overread on broken files. | Uoti Urpala | 2011-05-17 | 1 | -1/+4 |
| | |||||
* | asfdec: do not fall back to binary/generic search | Vladimir Pantelic | 2011-05-17 | 1 | -0/+1 |
| | | | | | | | | | | asf_read_seek() inside the asf demuxer already does the right thing, it tries the index and if that fails it uses binary search. If binary search is called from outside of asfdec.c it will fail because the asf code cannot clean up after itself. Therefore introduce AVFMT_NOBINSEARCH that prevents the seek code to fallback to binary search and AVFMT_NOGENSEARCH that prevents the seek code to fallback to generic search. | ||||
* | asfdec: reindent after previous commit c7bd5ed | Vladimir Pantelic | 2011-05-17 | 1 | -7/+7 |
| | |||||
* | asfdec: fallback to binary search internally | Vladimir Pantelic | 2011-05-17 | 1 | -7/+8 |
| | | | | lavf will do that anyway in case seek by index fails | ||||
* | asfdec: fix assert failure on invalid files | Uoti Urpala | 2011-05-03 | 1 | -0/+4 |
| | | | | | | | | Add an extra size validity check in asf_read_frame_header(). Without this asf->packet_size_left may become negative, which triggers an assertion failure later. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | asfdec: fix parsing of packets that overrun into padding. | Ronald S. Bultje | 2011-05-03 | 1 | -2/+8 |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | asf: remove commented out code in asf_read_seek | Vladimir Pantelic | 2011-04-20 | 1 | -21/+0 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | asfdec: Remove dead code from asf_read_close(). | Diego Biurrun | 2011-04-18 | 1 | -5/+1 |
| | |||||
* | make containers pass palette change in AVPacket | Kostya Shishkov | 2011-04-15 | 1 | -6/+15 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | handle malloc failures in ff_get_wav_header | Max Horn | 2011-04-14 | 1 | -1/+3 |
| | | | | | | | | | | | 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> | ||||
* | avio: undeprecate av_url_read_fseek/fpause under nicer names | Anton Khirnov | 2011-04-12 | 1 | -1/+1 |
| | | | | It seems their replacements won't be ready anytime soon. | ||||
* | asfdec: remove a forgotten declaration of nonexistent function | Anton Khirnov | 2011-04-08 | 1 | -2/+0 |
| | |||||
* | asfdec: also subtract preroll when reading simple index object | Vladimir Pantelic | 2011-03-23 | 1 | -2/+2 |
| | | | | | | | This was missed when ASF was changed to return timestamps without preroll. Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | avio: make av_url_read_fseek/fpause internal. | Anton Khirnov | 2011-03-21 | 1 | -1/+2 |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||||
* | Replace FFmpeg with Libav in licence headers | Mans Rullgard | 2011-03-19 | 1 | -4/+4 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | asfdec: subtract the preroll value and thus output 0 based timestamps | Vladimir Pantelic | 2011-03-17 | 1 | -1/+2 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense | Anton Khirnov | 2011-03-16 | 1 | -18/+18 |
| | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> |