summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAge
* 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
* Disable non interleaved avi code when there is no index available.Michael Niedermayer2010-05-20
| | | | | | Fixes issue1956. Originally committed as revision 23202 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use pkt->size when it is potentially uninitialized.Thierry Foucu2010-05-04
| | | | | | Patch by Thierry Foucu, tfoucu gmail Originally committed as revision 23017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a %2 to &1. Patch by Sebastian Vater <cdgs DOT basty googlemail com>.Sebastian Vater2010-04-20
| | | | Originally committed as revision 22922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid creating tiny (possibly only 64 bytes large) audio packets resulting inReimar Döffinger2010-03-14
| | | | | | huge processing and memory usage overhead for avi files with raw PCM audio. Originally committed as revision 22521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVI metadata conversion table.Anton Khirnov2010-02-06
| | | | | | Patch by Anton Khirnov (gmail{wyskas}). Originally committed as revision 21653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support strn tag in avidec.Michael Niedermayer2010-02-05
| | | | Originally committed as revision 21643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correcting wrong looking stream_id validity check in avidec.Michael Niedermayer2010-02-05
| | | | Originally committed as revision 21642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only set duration for streams where it is likely correct.Michael Niedermayer2010-02-03
| | | | | | Fixes issue1120 Originally committed as revision 21620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set nb_frames.Michael Niedermayer2010-02-02
| | | | | | | Also add DXSA tag (commited by mistake in this commit, i can revert and recommit seperately if someone wants) Originally committed as revision 21619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support uncompressed ("Resolution 1:1") Avid AVI Codec, (partially) fixes ↵Carl Eugen Hoyos2010-01-12
| | | | | | issue 1474. Originally committed as revision 21154 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AV_METADATA_DONT_STRDUP* / use av_malloced metadata instead of strdupedMichael Niedermayer2009-12-13
| | | | | | | arrays of fixed length. Code from ffmbc with changes to adapt to our metadata API. Originally committed as revision 20836 to svn://svn.ffmpeg.org/ffmpeg/trunk