summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAge
* 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
* Fix infinite loop with size==0 && sample_size!=0 in non interleaved avis.Michael Niedermayer2009-10-22
| | | | | | Untested, i do not have a sample. Originally committed as revision 20348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support non interleaved avi files that have 0<size<sample_size.Michael Niedermayer2009-10-22
| | | | | | | (No i do not have a sample its thus also untested) The new code is also simpler. Originally committed as revision 20347 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix playback of strange AVI files with stray LIST.Aurelien Jacobs2009-10-01
| | | | | | | sample: http://samples.mplayerhq.hu/avi/AV36_1.AVI fix suggested by Michael Originally committed as revision 20118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a bug with reading non-interleaved AVI if one the streams isMaksym Veremeyenko2009-09-09
| | | | | | | | shorter. Patch by Maksym Veremeyenko, verem m1stereo tv Originally committed as revision 19798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorise st->nb_index_entries check.Maksym Veremeyenko2009-09-09
| | | | | | Patch by Maksym Veremeyenko, verem m1stereo tv Originally committed as revision 19797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for seek failures in avi_load_index, otherwise if the index offsetReimar Döffinger2009-08-26
| | | | | | | is invalid (e.g. truncated file) we might end up reading the whole file since trying to seek beyond the end of file does not set EOF. Originally committed as revision 19709 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read index chunks as audio/video data; closes issue 1336.Maksym Veremeyenko2009-08-25
| | | | | | patch by Maksym Veremeyenko, verem m1stereo tv Originally committed as revision 19700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: simplify, using av_rescale_q() instead of av_rescale()Aurelien Jacobs2009-08-10
| | | | Originally committed as revision 19624 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless '#ifdef DEBUG' around dprintf macro.Diego Biurrun2009-07-29
| | | | Originally committed as revision 19535 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for failed extradata malloc, fixes a crash in out-of-memory conditionsReimar Döffinger2009-07-03
| | | | | | or with extremely large extradata. Originally committed as revision 19333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check size of "strf" header against size of enclosing "LIST" if there is one.Reimar Döffinger2009-07-03
| | | | Originally committed as revision 19332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_ prefixes to exported symbols in libavformat/riff.h.Daniel Verkamp2009-06-22
| | | | | | patch by Daniel Verkamp, aniel drv nu Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Workaround broken AVI files from DC-XZ6.Michael Niedermayer2009-05-25
| | | | | | Fixes issue897. Originally committed as revision 18942 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move DEBUG define before include to get dprintf and change printf to dprintfBaptiste Coudurier2009-05-24
| | | | Originally committed as revision 18932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* set avi fsize to INT64_MAX if riff tag end is not set and file size is not ↵Baptiste Coudurier2009-03-19
| | | | | | available Originally committed as revision 18052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for alloc failures.Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for EOF during index reading.Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle chunks with the MSB in size set correctly that is unsigned.Michael Niedermayer2009-02-21
| | | | Originally committed as revision 17491 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix raw rgb/bgr vertical flip in avi based on info from ↵Michael Niedermayer2009-02-21
| | | | | | | | http://www.fourcc.org/fccbihgt.php. partially fixes issue862. Originally committed as revision 17475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVI demuxer: return AVERROR_EOF upon detection of end of file.Peter Ross2009-02-19
| | | | Originally committed as revision 17456 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avidec: fix error introduced in r17382Måns Rullgård2009-02-16
| | | | Originally committed as revision 17385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a context to av_log() calls and modify a function prototype to allow it.Benoit Fouet2009-02-16
| | | | Originally committed as revision 17382 to svn://svn.ffmpeg.org/ffmpeg/trunk
* modify the way to pass parameters to av_metadata_set()Aurelien Jacobs2009-02-02
| | | | | | | This improves code readability and this avoid warnings about discarding qualifiers from pointer target type. Originally committed as revision 16952 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk