Commit Graph

88 Commits

Author SHA1 Message Date
David Conrad 57060f8936 AVI tag reading and writing patch by David Conrad.
umovimus at gmail dot com

Originally committed as revision 6022 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-18 16:48:35 +00:00
Måns Rullgård 9d9f4119bd move common stuff from avienc.c and wav.c to new file riff.c
Originally committed as revision 5720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-12 00:09:34 +00:00
Måns Rullgård ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Måns Rullgård d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Måns Rullgård 26b891356c kill warnings
Originally committed as revision 5586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-02 19:35:07 +00:00
Måns Rullgård a5e9102b4b free codec extradata in av_close_input_file
Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 07:54:37 +00:00
Michael Niedermayer b7b225581f dont load the index if we cant seek back
Originally committed as revision 5475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-14 00:32:10 +00:00
Kostya Shishkov 1c6606e2d0 Fix demuxing of AVIs with pad streams.
Originally committed as revision 5271 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-06 03:33:10 +00:00
Michael Niedermayer b72a2bc82f dwstart support
Originally committed as revision 5097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 14:50:31 +00:00
Michael Niedermayer e84dab5f57 fixing demuxing of minorityreport.AVI
Originally committed as revision 5096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-02 14:27:41 +00:00
Michael Niedermayer 8945ebb9c1 fixing av sync in videotest.avi (index doesnt match chunks, header doesnt indicate that)
Originally committed as revision 5088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 16:11:04 +00:00
Michael Niedermayer 115e8ae577 support seeking in RenderAvi.avi (audio stream == single huge chunk)
Originally committed as revision 5087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 15:42:07 +00:00
Michael Niedermayer 8223bca50d 10l forgot to set packet_size
Originally committed as revision 5086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 15:21:53 +00:00
Michael Niedermayer 1894edeb74 fix demuxing of XviD_with_3_AAC-HE_audio_streams.avi
Originally committed as revision 5085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 12:04:22 +00:00
Michael Niedermayer 5c89153e90 add movi_list offset into index
Originally committed as revision 5084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:41:16 +00:00
Michael Niedermayer 30a43f2d09 add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:29:55 +00:00
Michael Niedermayer 94d1d6c02d ODML index parsing support
Originally committed as revision 5081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 01:32:32 +00:00
Diego Biurrun 5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun 115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Måns Rullgård 79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Michael Niedermayer 7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Måns Rullgård bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer 01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Michael Niedermayer 2692067a45 AVPacket.pos
Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 20:17:12 +00:00
Aurelien Jacobs a965c478b2 drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)
Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:06:27 +00:00
Michael Niedermayer c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer d46db490b1 segfault fix
Originally committed as revision 4079 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 21:27:54 +00:00
Michael Niedermayer f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
Michael Niedermayer 80e3a08c97 reverse zero packet dissapearence "feature"
Originally committed as revision 4046 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-16 13:26:52 +00:00
Michael Niedermayer b53f10648b cleanup strh parser
Originally committed as revision 4041 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 21:25:59 +00:00
Michael Niedermayer 7c7f386677 non interleaved avi support
various fixes/workarounds

Originally committed as revision 4038 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-15 03:42:57 +00:00
Michael Niedermayer 52a0bbff1f use libavformats index system instead of the half duplicated mess in avidec.c
Originally committed as revision 4036 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 02:04:35 +00:00
Michael Niedermayer cb43c0e10d audio duration fix?
Originally committed as revision 3952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-08 00:38:24 +00:00
Michael Niedermayer 8d65750ef1 overflows
Originally committed as revision 3935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-04 11:26:40 +00:00
Michael Niedermayer b4aea108eb support discarding of uninterresting packets
Originally committed as revision 3858 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 01:48:11 +00:00
Michael Niedermayer 0fbc6961eb 1/0 fix
Originally committed as revision 3856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-21 23:38:09 +00:00
Michael Niedermayer 568e18b15e integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 14:21:33 +00:00
Michael Niedermayer 55c7e4ad5d broken avi / div by zero fix
Originally committed as revision 3761 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 02:55:40 +00:00
Michael Niedermayer 3129cd0140 allocate a few bytes more for extradata so the bitstream reader if its used by the codec for parsing extardata, doesnt read over the end
Originally committed as revision 3679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-13 01:27:35 +00:00
Kostya Shishkov 61c52ead7c When playing
ftp://ftp.mplayerhq.hu/MPlayer/samples/V-codecs/QPEG/VWbig6.avi with my
decoder (should appear soon) it hadn't changed palette even there are
palette change chunks in that AVI.
Here is small patch to make it work (zero number of colors to change in
that chunk actually means to change ALL colors).
patch by (Kostya <cannonball>at<bw-team>dot<com>)

Originally committed as revision 3670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-12 01:32:35 +00:00
Michael Niedermayer 4a8d51356f fixing demuxing of vc2_intro.avi
Originally committed as revision 3610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-19 10:37:02 +00:00
Roman Shaposhnik 664f583665 * static allocation for audio packets. This will make it a little bit
faster and easier to follow.

   * misc. fixes for problems with seeking

Originally committed as revision 3590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-13 00:03:00 +00:00
Michael Niedermayer 7b3c1382bf 100l (forgoten seeking functions)
Originally committed as revision 3585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-11 23:53:53 +00:00
Michael Niedermayer 30667f42f5 pads stream
Originally committed as revision 3531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-28 09:55:44 +00:00
Roman Shaposhnik 2c3cee348f * fix for a DV regression introduced with the last round of avi_read_packet
fixes.

Originally committed as revision 3482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-19 19:24:56 +00:00
Mike Melanson 69bde0b258 added support for the elusive AVI palette change chunk, courtesy of
Kostya <cannonball at bw-team.com>

Originally committed as revision 3467 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-16 02:14:50 +00:00
Michael Niedermayer d2c5f0a4bf various fixes for the main chunk demux loop
Originally committed as revision 3464 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 01:35:09 +00:00
Roman Shaposhnik 8f9298f801 * simplifying OpenDML AVI handling.
* adding code to skip over JUNK. It turns out that video editing
     software uses junk to resize ix## chunks without actually
     scrubbing the data. That trips up our packet extraction
     code since it recognizes ix## entries as "packets". Basically
     we have to skip over JUNK chunks for exactly the same reason
     we have to skip over ix## entries.

Originally committed as revision 3378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-04 20:57:35 +00:00
Michael Niedermayer f8facaaf41 play more broken files
Originally committed as revision 3308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-14 00:10:06 +00:00