summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAge
...
* avidec: simplify size parameter in memset()Janne Grunau2011-10-10
|
* lavf: add support for error_recognition, use it in avidec, and bump minor ↵Dustin Brody2011-08-12
| | | | | | API version Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avidec: simplify convoluted flow in avi_load_index()Mans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avidec: infer absolute vs relative index from first packetAlex Converse2011-07-01
|
* avidec: Factor out the sync fucntionality.Alex Converse2011-07-01
|
* Deprecate av_open_input_* and remove their uses.Anton Khirnov2011-06-16
| | | | Deprecate the last remaining member of AVFormatParameters.
* Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun2011-06-10
|
* Remove all uses of now deprecated metadata functions.Anton Khirnov2011-06-08
|
* Replace some printf instances in debug code by av_log.Diego Biurrun2011-06-07
|
* Remove unused variablesMans Rullgard2011-06-02
|
* read AVI palette from the end of extradataKostya Shishkov2011-04-24
| | | | | | | | | | | | | | | | | | Official AVI specification says that stream header in case of video contains BITMAPINFO, which is equal to BITMAPINFOHEADER and optional palette. Currently lavf AVI demuxer thinks otherwise which produces garbage on codecs that have both palette and extradata (luckily, there are not so many such codecs). An example of such file is: http://samples.multimedia.cx/V-codecs/KMVC/baseball1.avi (IIRC, MSS1 or MSS2 also had such situation but they are still not supported by lavc). As a side note, passing palette in extradata as it's been done previously is not quite correct since proper _extra_ data is surplus bytes in BITMAPINFOHEADER, not including palette. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* 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>
* 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>
* avio: introduce an AVIOContext.seekable fieldAnton Khirnov2011-04-03
| | | | Use it instead of url_is_streamed and AVIOContext.is_streamed.
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-21
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avidec: simplify read_gab2_subAnton Khirnov2011-02-06
| | | | | | | | | | Use avio functions instead of bytestream ones (also drops dependency on lavc and removes a bunch of warnings). Drop custom version of avio_get_str16 and use that instead. Tested on mewmew-ssa.avi sample. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* avidec: make print_tag() a macro and remove related ifdefsMans Rullgard2011-01-25
| | | | | | | The dprintf macro is a no-op if DEBUG is not defined, so there is no need to guard it here. Signed-off-by: Mans Rullgard <mans@mansr.com>
* add ff_get_bmp_headerPeter Ross2010-12-26
| | | | Originally committed as revision 26091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: read some of the Nikon specific tags produced by Nikon camerasAurelien Jacobs2010-11-24
| | | | Originally committed as revision 25821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: support non-standard creation_time formatAurelien Jacobs2010-11-23
| | | | Originally committed as revision 25815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: trivial simplification regarding av_metadata_setAurelien Jacobs2010-11-23
| | | | Originally committed as revision 25814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: export creation_date as metadataAurelien Jacobs2010-11-21
| | | | Originally committed as revision 25785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export metadata in the generic format. Deprecate old conversion API.Anton Khirnov2010-10-15
| | | | | | patch by Anton Khirnov anton _at_ khirnov _dot_ net Originally committed as revision 25493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Reindent after r25023.Carl Eugen Hoyos2010-09-02
| | | | Originally committed as revision 25024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash when decoding DV in AVI introduced in r24579 (issue 2174).Andrew Wason2010-09-02
| | | | | | Patch by Andrew Wason, rectalogic rectalogic com Originally committed as revision 25023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: av_freep() needs the address of the pointerAurelien Jacobs2010-07-30
| | | | Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: demux ASS and SRT tracks out of GAB2 chunksAurelien Jacobs2010-07-29
| | | | Originally committed as revision 24579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec : Free packet if dv_produce_packet fails.Jai Menon2010-07-17
| | | | Originally committed as revision 24281 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec : Free codec context before initializing the chained DV demuxer.Jai Menon2010-07-17
| | | | Originally committed as revision 24279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-10
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable dshow specific bug emulation for amv files as they arentMichael Niedermayer2010-07-02
| | | | | | demuxed by ms dshows buggy demuxer normally. Originally committed as revision 24012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename block_align variable in the avi demuxer to clearly seperate its purposeMichael Niedermayer2010-07-02
| | | | | | from the true block_align. Originally committed as revision 24011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Duplicate rounding that MS does in one of their implementations of an avi ↵Michael Niedermayer2010-07-02
| | | | | | | | | demuxer. Fixes issue740 Based on patch by Cory Fields theuni-nospam- >xbmc @org Originally committed as revision 23999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize get_duration() out of 4 places of the avi demuxer.Michael Niedermayer2010-07-01
| | | | Originally committed as revision 23934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent infinite recursion of odml indexes.Michael Niedermayer2010-07-01
| | | | | | This fixes a stack overflow. Originally committed as revision 23925 to svn://svn.ffmpeg.org/ffmpeg/trunk