summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
Commit message (Collapse)AuthorAge
...
* 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
* Make unsigned int a variable that does not need to be explicitely 32 bits.Marc Mason2009-01-16
| | | | | | | Fixes a warning. Patch by: Marc Mason mpeg (your_ad_here) blue (chez) free fr Originally committed as revision 16632 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVI: add bswap.h include needed on big endianMåns Rullgård2009-01-12
| | | | Originally committed as revision 16564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename AVMetaData to AVMetadata and meta_data to metadataAurelien Jacobs2009-01-04
| | | | Originally committed as revision 16430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Generic metadata API.Michael Niedermayer2009-01-04
| | | | | | | | avi is updated as example. No version bump, the API still might change slightly ... No update to ffmpeg.c as requested by aurel. Originally committed as revision 16424 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix bug where the avi demxuer lost the first frame of malformedMichael Niedermayer2008-12-16
| | | | | | | ODML avis. Fixes VS2k5DebugDemo-01-partial.avi Originally committed as revision 16167 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l (forgot sample_size)Michael Niedermayer2008-12-14
| | | | | | Should fix fate. Originally committed as revision 16133 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix non interleaved variable fps ODML avis.Michael Niedermayer2008-12-14
| | | | | | Fixed issue738 Originally committed as revision 16127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Favor even chunk sizes in ambiguous cases.Michael Niedermayer2008-10-04
| | | | | | Fixes transcode_069_produces_uneven_chunk_size.avi. Originally committed as revision 15557 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize stream id parsing.Michael Niedermayer2008-10-04
| | | | Originally committed as revision 15556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert every muxer/demuxer to write/read sample_aspect_ratio from/toAurelien Jacobs2008-08-23
| | | | | | the corresponding AVStream instead of AVCodecContext Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk