aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-041-16/+16
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-011-22/+22
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: avio_ prefix for url_fseekAnton Khirnov2011-03-011-12/+12
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-211-79/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-211-1/+1
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-8/+8
| | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
| * avidec: simplify read_gab2_subAnton Khirnov2011-02-061-22/+16
| | | | | | | | | | | | | | | | | | | | 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-041-2/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace dprintf with av_dlogLuca Barbato2011-01-291-2/+2
| | | | | | | | dprintf clashes with POSIX.1-2008
| * Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-261-1/+1
| | | | | | | | | | 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-251-19/+12
| | | | | | | | | | | | | | 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>
* | avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-081-4/+4
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
* | avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-051-16/+16
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
* | lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-031-22/+22
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit e356fc57a2e9887370caec58d8aafeafd1f336dc)
* | avio: avio_ prefix for url_fseekAnton Khirnov2011-03-031-12/+12
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
* | avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-221-79/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit b7effd4e8338f6ed5bda630ad7ed0809bf458648)
* | avio: rename av_alloc_put_byte -> avio_alloc_context for consistencyAnton Khirnov2011-02-221-1/+1
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 8d9ac969cb4ac3e3e18f6425703af4d7aec6c513)
* | avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-201-8/+8
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
* | avidec: simplify read_gab2_subAnton Khirnov2011-02-091-22/+16
| | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit 47fdf00a77e82a0e30422ed08d5b295e9ae8d506)
* | Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-061-2/+1
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 290849e2a4e76484f1a34506782e8dbfe7bbe406)
* | Replace dprintf with av_dlogLuca Barbato2011-01-301-2/+2
| | | | | | | | | | dprintf clashes with POSIX.1-2008 (cherry picked from commit dfd2a005eb29e4b9f2fdb97036eb7d5c38ae4bd4)
* | Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-281-1/+1
| | | | | | | | | | | | 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. (cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)
* | avidec: make print_tag() a macro and remove related ifdefsMans Rullgard2011-01-261-19/+12
|/ | | | | | | | 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> (cherry picked from commit 6081f8c4e283bf1b33e4cf4b2ca44217219f9210)
* add ff_get_bmp_headerPeter Ross2010-12-261-11/+1
| | | | 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-241-0/+38
| | | | Originally committed as revision 25821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: support non-standard creation_time formatAurelien Jacobs2010-11-231-1/+5
| | | | Originally committed as revision 25815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: trivial simplification regarding av_metadata_setAurelien Jacobs2010-11-231-6/+2
| | | | Originally committed as revision 25814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: export creation_date as metadataAurelien Jacobs2010-11-211-0/+27
| | | | 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-151-1/+2
| | | | | | 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-021-6/+6
| | | | 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-021-1/+3
| | | | | | 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-301-1/+1
| | | | Originally committed as revision 24613 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: demux ASS and SRT tracks out of GAB2 chunksAurelien Jacobs2010-07-291-2/+123
| | | | Originally committed as revision 24579 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec : Free packet if dv_produce_packet fails.Jai Menon2010-07-171-0/+2
| | | | 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-171-0/+1
| | | | Originally committed as revision 24279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-101-1/+1
| | | | 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-021-1/+3
| | | | | | 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-021-4/+4
| | | | | | 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-021-0/+4
| | | | | | | | | 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-011-14/+11
| | | | Originally committed as revision 23934 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent infinite recursion of odml indexes.Michael Niedermayer2010-07-011-0/+9
| | | | | | 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-201-0/+10
| | | | | | 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-041-1/+1
| | | | | | 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-201-1/+1
| | | | 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-311-4/+4
| | | | | | 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-301-13/+13
| | | | | | 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-141-1/+2
| | | | | | 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-061-24/+18
| | | | | | 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-051-9/+19
| | | | Originally committed as revision 21643 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correcting wrong looking stream_id validity check in avidec.Michael Niedermayer2010-02-051-1/+1
| | | | Originally committed as revision 21642 to svn://svn.ffmpeg.org/ffmpeg/trunk