Commit Graph

90 Commits

Author SHA1 Message Date
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
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
Michael Niedermayer
3ba1438dec use native timebase for seeking
direction flag for seeking

Originally committed as revision 3577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-10-10 22:05:43 +00:00
Michael Niedermayer
ca6ecf50f9 file id string
max short startcode distance

Originally committed as revision 3223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-14 21:30:36 +00:00
Michael Niedermayer
e928649b0b pass AVPacket into av_write_frame()
fixes the random dts/pts during encoding
asf preroll fix
no more initial zero frames for b frame encoding
mpeg-es dts during demuxing fixed
.ffm timestamp scale fixed, ffm is still broken though

Originally committed as revision 3168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-29 02:06:32 +00:00
Michael Niedermayer
cdd5034f89 store index for seeking in the native timebase of each stream
set correct timebase for nut
merge mpeg-ts seeking with existing seeking code
10l fix in mpegts (27mhz vs. 90khz)

Originally committed as revision 3152 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-23 16:26:12 +00:00
Michael Niedermayer
9ee91c2f53 move time_base (pts_num/pts_den) from AVFormatContext -> AVStream
Originally committed as revision 3148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 20:43:21 +00:00
Michael Niedermayer
84ad613008 bytestream tracing support
sync points
removing timestamp lru prediction
extendible frame_code / frame_code table

Originally committed as revision 3142 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-20 16:00:22 +00:00
Michael Niedermayer
0b43db1448 match latest spec
seeking to startcode-less frames

Originally committed as revision 3102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-02 01:03:55 +00:00
Michael Niedermayer
31179d85cb store correct pts
Originally committed as revision 3008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 22:23:16 +00:00
Michael Niedermayer
75553f825c bit-exact
Originally committed as revision 3007 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 20:06:23 +00:00
Michael Niedermayer
8d14a25c3e moving nearly identical binary search code from nut/mpeg/asf to utils.c
Originally committed as revision 3003 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-12 16:50:03 +00:00
Michael Niedermayer
ee76016c79 set codec_tag
Originally committed as revision 2995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-10 20:11:00 +00:00
Michael Niedermayer
aec8f88a9e removing keyframe prediction and checksum threshold
Originally committed as revision 2991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 16:46:12 +00:00
Steven M. Schultz
1c24c51dec gcc 2.95.3 patch by ("Steven M. Schultz" <sms at 2bsd dot com>)
Originally committed as revision 2983 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-09 12:31:36 +00:00
Michael Niedermayer
7dddf251a2 fourcc & language code v->vb type
some minor cleanups
some bugfixes
seeking to type 1 and 2 frames (no index needed)
timestamp/position cache so seeking without an index is fast

Originally committed as revision 2980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-08 00:22:22 +00:00
Michael Niedermayer
465e1dadbe 10l (bytes_left() -> url_feof())
10l (updating LRU delta pts for type 1/2 frames)
ensure that checksumming isnt enabled if its not needed
search for next startcode and then search backward to the next valid frame if an inconsistancy is detected
deal with non-frame startcodes in the middle of the stream

Originally committed as revision 2972 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-06 17:40:17 +00:00
Michael Niedermayer
7c5934ede9 search for undamaged headers
Originally committed as revision 2970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 22:00:59 +00:00
Michael Niedermayer
ee9f36a88e checksuming for nut & nice checksum API for libavformat
Originally committed as revision 2969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 12:02:10 +00:00
Michael Niedermayer
5a75750785 10l (Titel->Title)
Originally committed as revision 2967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-05 10:38:01 +00:00
Michael Niedermayer
e52788d069 info packet read/write & simplify
Originally committed as revision 2965 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 22:34:26 +00:00
Michael Niedermayer
ae3fa4ea9c make vorbis default again
Originally committed as revision 2964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 20:24:28 +00:00
Michael Niedermayer
a1d4d70c7a large extradata fix
use 3 pts predictors for vorbis, slightly more efficient

Originally committed as revision 2960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-04 18:37:41 +00:00
Michael Niedermayer
a5247e3d8d nut (de)muxer update
conform to latest spec
 remove get/put_s() not needed anymore
 update_packetheader() fixed (wasnt always working)
 store/load extradata & aspect ratio
 memleak fix
 dont use vorbis by default yet
 use frame_size from the codec instead of hardcoding it in the source

Originally committed as revision 2951 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-03 21:00:14 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Alex Beregszaszi
f0a93eb0b2 msb pts support
Originally committed as revision 2576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-12-08 17:54:40 +00:00
Alex Beregszaszi
4b68410579 10l
Originally committed as revision 2387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-15 15:21:46 +00:00
Mike Melanson
764ef40015 disable encoders where appropriate (patch courtesy of BERO
<bero -at- geocities.co.jp>)

Originally committed as revision 2375 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-14 04:15:53 +00:00
Alex Beregszaszi
e692fd601d fixed codec specific data headers
Originally committed as revision 2337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 22:41:08 +00:00
Alex Beregszaszi
cf24628385 fixed time base and sample rate handling
Originally committed as revision 2336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 22:33:55 +00:00
Alex Beregszaszi
5aa0a64494 fix fabrice's broken get_bi and some minor changes in draft
Originally committed as revision 2335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-02 14:59:54 +00:00
Fabrice Bellard
490579042a 64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 22:37:33 +00:00
Michael Niedermayer
8c653280bd get_bi(), be/le fix
Originally committed as revision 2254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-10 13:00:24 +00:00
Fabrice Bellard
80783dc2c2 CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 22:04:29 +00:00
Fabrice Bellard
a182f5da93 fixed endianness dependancies (untested)
Originally committed as revision 2224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-08 20:00:13 +00:00
Alex Beregszaszi
ed0bb7bee6 move packetheader after startcodes
Originally committed as revision 2215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-07 00:37:46 +00:00
Alex Beregszaszi
99b17f25b1 some fixes
Originally committed as revision 2214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 23:17:17 +00:00
Michael Niedermayer
203504d910 padding fix
Originally committed as revision 2213 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 16:29:05 +00:00
Michael Niedermayer
3ac8749b90 big/little endian fix
storing 64bit stuff in int fix
put_v() fix
startcodes
nut_probe()

Originally committed as revision 2212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-06 14:03:35 +00:00
Alex Beregszaszi
3aa180b84e initial nut muxer and demuxer (demuxer is not fail safe)
Originally committed as revision 2211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-05 18:45:32 +00:00