Commit Graph

3075 Commits

Author SHA1 Message Date
Baptiste Coudurier b014dd7695 fail if extradata cannot be allocated
Originally committed as revision 12206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:42:32 +00:00
Baptiste Coudurier 9c7fd997f7 10l, protect malloc overflow
Originally committed as revision 12205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:38:37 +00:00
Baptiste Coudurier b8d3daca62 support QDM2 in aiff, QDM2.aif
Originally committed as revision 12204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:29:34 +00:00
Baptiste Coudurier 4c638f0c7c remove useless close function
Originally committed as revision 12203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:24:30 +00:00
Baptiste Coudurier 54d8fd20fd indentation
Originally committed as revision 12202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:23:27 +00:00
Baptiste Coudurier c6f5381215 remove useless casts
Originally committed as revision 12201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:15:26 +00:00
Baptiste Coudurier 9df21f24e1 cosmetics
Originally committed as revision 12200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:14:15 +00:00
Baptiste Coudurier b4dc27a829 remove useless tags, codec_get_id matches independently and qt uses lower case tags
Originally committed as revision 12199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:08:26 +00:00
Baptiste Coudurier e13c078333 set bps to uncompressed original sound data for compressed audio
according to aiff specs, qt set it to 16 for mace and ima4,
fail if block align is not set.

Originally committed as revision 12198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 12:00:31 +00:00
Baptiste Coudurier e013015980 fix duration for ima4
Originally committed as revision 12197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 11:34:26 +00:00
Baptiste Coudurier 3a957df49e ima4 in aiff support
Originally committed as revision 12196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 10:57:22 +00:00
Måns Rullgård 76a448ed4f Install headers in $prefix/include/$libname
Install each library's headers in $prefix/include/$libname.
The installed headers use #include "lib*/*.h"; applications
are expected to do the same.

Specify only $prefix/include in .pc files.

Originally committed as revision 12194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-25 09:22:11 +00:00
Diego Biurrun 8af9090f4f cosmetics: Sort and prettyprint codec_wav_tags[].
Originally committed as revision 12192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 23:02:47 +00:00
Michael Niedermayer ac6f133027 Set indexmem to a saner default.
Originally committed as revision 12190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 16:28:35 +00:00
Michael Niedermayer 58293e57e1 Fix issue357
Do what the spec says, insane or not:
"
Format 0 (uncompressed) and Format 3 (uncompressed little-endian) are similar. Both encode
uncompressed audio samples. For 8-bit samples, the two formats are identical. For 16-bit
samples, the two formats differ in byte ordering. In Format 0, 16-bit samples are encoded and
decoded according to the native byte ordering of the platform on which the encoder and Flash
Player, respectively, are running. In Format 3, 16-bit samples are always encoded in little-endian
order (least significant byte first), and are byte-swapped if necessary in Flash Player before
playback. Format 0 is clearly disadvantageous because it introduces a playback platform
dependency. For 16-bit samples, Format 3 is highly preferable to Format 0 for SWF version 4
or later.
"

Originally committed as revision 12184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 01:04:00 +00:00
Michael Niedermayer 44de39f93c flv/swf do not have a big endian codec id, they only support
little endian and native endian.

Originally committed as revision 12183 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-24 00:57:15 +00:00
Benjamin Larsson 7bb8d51c1f Riff ids for wmapro and wmavoice, this adds support for stream copy of these codecs between asf,avi and wav containers.
Originally committed as revision 12182 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-23 23:30:41 +00:00
Nico Sabbi a45b40c496 treat stream_type==0x82 as AUDIO_DTS when the program has a REGISTRATION_DESCRIPTOR with the value HDMV; approved by Mans
Originally committed as revision 12180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-23 10:57:38 +00:00
Michael Niedermayer 635fbcb17f revert 12156
Log:
Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.
----
A IMHO cleaner solution has been implemented.

Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 20:24:38 +00:00
Luca Abeni d597e1b76c Fix computation of the "NTP time" field in RTCP SR packets, and do not
export times with microsecond precision

Originally committed as revision 12158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 10:19:35 +00:00
Michael Niedermayer 91acf9a8bc Get rid of a fake timestamp discontinuity at the begin of V.VOB.
This solution is not really correct but it is quite simple. Correct would
be to do a second pass over the packets after all the headers have been
collected.

Originally committed as revision 12157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:40:07 +00:00
Michael Niedermayer ff2635b273 Make timestamp interpolation work with mpeg2 field pictures.
Cleaner/simpler solutions are welcome.

Originally committed as revision 12156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-20 03:20:06 +00:00
Måns Rullgård e97ac1e6f5 Clean up lib* version definitions
Updating version numbers now requires changing only one place.

Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:50:28 +00:00
Michael Niedermayer cea9642014 Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:09:08 +00:00
Reimar Döffinger a56dcc5793 Add some const, fixes warnings:
rtpenc_h264.c:69: warning: assignment discards qualifiers from pointer target type
rtpenc_h264.c:74: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 12152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 22:07:48 +00:00
Reimar Döffinger a1fc4d4aa8 Missing const, fix warnings:
sdp.c:115: warning: assignment discards qualifiers from pointer target type
sdp.c:120: warning: assignment discards qualifiers from pointer target type

Originally committed as revision 12151 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 21:58:54 +00:00
Reimar Döffinger 591de5cf35 Fix misplaced const, avoids a cast-discards-qualifiers warning
Originally committed as revision 12146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 16:18:17 +00:00
Michael Niedermayer d937cd0ed2 const
Originally committed as revision 12145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-19 16:08:52 +00:00
Michael Niedermayer 83a9db42a3 Fix timestamps and durations if the first packets have no durations nor timestamps,
and the information needed to guess the duration only becomes known at a later packet.

Originally committed as revision 11963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 20:32:32 +00:00
Michael Niedermayer e942293db1 It appears last_pts was not set ...
Originally committed as revision 11939 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 13:21:00 +00:00
Michael Niedermayer a712d725c0 Header elision muxing support.
This only removes 2 bytes from MP3 and MP2 currently.
Up to 4 could be removed from MP3/MP2 though this might need a 2pass muxer.
Primitive code to remove headers from MPEG-1/2/4 is there too but for the
single file I tried it on (the one in the regression tests), it was a loss
because all video frames were >4096 byte, so that it is disabled ATM.

Originally committed as revision 11936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 02:57:19 +00:00
Michael Niedermayer 3b4f69ae8c Elision header demuxing support.
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-15 02:36:09 +00:00
Michael Niedermayer 7eeebcc5de Read match time delta in the frame header.
We do not do anything with it as lavf does not really support it yet.

Originally committed as revision 11931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:17:28 +00:00
Michael Niedermayer 6cb4b28fea Read match_time_delta in the framecode table.
Originally committed as revision 11930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:13:29 +00:00
Michael Niedermayer 42abeeae3f update flags
Originally committed as revision 11929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 20:01:09 +00:00
Baptiste Coudurier 501f162fde honor stsd v1 first, fix mace surge-2-8-MAC3.mov, beware of mulaw,alaw
Originally committed as revision 11928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 19:26:45 +00:00
Baptiste Coudurier 6a1f4535f8 10l, forgot alaw/mulaw mono, use bits_per_sample in fact,
it should correctly set by av_get_bits_per_sample if recognized

Originally committed as revision 11925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 13:11:10 +00:00
Luca Abeni f8cda19ee6 Include poll.h instead of sys/poll.h
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 12:51:14 +00:00
Baptiste Coudurier d435e520d8 warn use if edit list is not starting at 0, a/v desync might occur
Originally committed as revision 11923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:58:16 +00:00
Baptiste Coudurier fffa99ddd0 remove now useless code
Originally committed as revision 11922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:53:48 +00:00
Baptiste Coudurier 531527652f remove messy and not always correct chunk size workaround, use correct values instead
Originally committed as revision 11921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 10:52:23 +00:00
Diego Biurrun 5e53486545 typo fix: inited --> initialized
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13 09:26:10 +00:00
Baptiste Coudurier 300aa2b039 return error when dv audio extraction fails
Originally committed as revision 11913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:37:44 +00:00
Baptiste Coudurier e6920f2445 remove obsolete comments
Originally committed as revision 11912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:34:43 +00:00
Baptiste Coudurier 3a3aa49ab7 remove useless braces
Originally committed as revision 11911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:34:03 +00:00
Baptiste Coudurier 311490cccd cosmetics, indentation, braces
Originally committed as revision 11910 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:33:35 +00:00
Baptiste Coudurier 8cb66fd8f2 split chunks in the case of big compressed audio frames,
might be tweaked, fix qt_dv_pal_test.mov.

Originally committed as revision 11909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:32:35 +00:00
Baptiste Coudurier 77c7543702 use correct demux mechanism when audio compression id is -2, dv audio does not matter, demux partially qt_dv_pal_test.mov which does NOT use cid -2
Originally committed as revision 11908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 22:23:05 +00:00
Baptiste Coudurier d0cbff868e fcp imx 40 fourccs
Originally committed as revision 11906 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 15:20:35 +00:00
Baptiste Coudurier 56ea717b46 indentation
Originally committed as revision 11905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-11 14:10:52 +00:00