Commit Graph

19 Commits

Author SHA1 Message Date
Clemens Ladisch 559fd1e795 fix end-of-file detection
At the end of a nut file, the check for url_feof() fails because the
eof flag was cleared by the url_fseek() call that was used to skip over
the index packet.    This patch fixes this
patch by: Clemens Ladisch % cladisch A fastmail P net %
Original thread:
Date: Feb 27, 2007 6:13 PM
Subject: [Ffmpeg-devel] [PATCH] nutdec: fix end-of-file detection

Originally committed as revision 8447 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 23:59:56 +00:00
Luca Barbato bb0eb714bd get_packetheader() forgot to read the header_checksum in big packets
patch from Clemens Ladisch cladisch AT fastmail dot net
(stray base64 patch reverted in the next commits)

Originally committed as revision 8156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-28 03:28:31 +00:00
Michael Niedermayer 07495657fb simplify
Originally committed as revision 7602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:43:29 +00:00
Michael Niedermayer 06599638dd check max_pts_distance
Originally committed as revision 7100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 11:03:40 +00:00
Michael Niedermayer 0a3b575bc7 skip non keyframes after seeking between syncpoint and the first keyframe
Originally committed as revision 7099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 10:20:29 +00:00
Michael Niedermayer c873bc17bf remove unused variables
Originally committed as revision 7098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:59:46 +00:00
Michael Niedermayer 09e151848a removing unused code
Originally committed as revision 7096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-16 09:56:04 +00:00
Michael Niedermayer 2dbe0bd45f check for frames with 2*size > max_dist and no crc
Originally committed as revision 7076 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:24:10 +00:00
Michael Niedermayer 8ba3e5d843 resync from last syncpoint
Originally committed as revision 7075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:23:26 +00:00
Michael Niedermayer a26353e211 remove skip spam
Originally committed as revision 7074 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 22:22:53 +00:00
Michael Niedermayer f32554fa62 indention
Originally committed as revision 7058 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:33:05 +00:00
Michael Niedermayer 071790c876 seeking with index
Originally committed as revision 7057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:32:14 +00:00
Michael Niedermayer 4d5be986f0 index less seeking in O(log n) time
Originally committed as revision 7056 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 13:19:51 +00:00
Michael Niedermayer 5d97d9d53e fix checksum check (was my bug not libnut)
Originally committed as revision 6980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 12:16:59 +00:00
Michael Niedermayer e827202955 fix timestamp rounding in syncpoints
index reading (unfinished and disabled)

Originally committed as revision 6979 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-12 12:07:42 +00:00
Michael Niedermayer 7b0d75fc40 simplify
Originally committed as revision 6971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:47:58 +00:00
Michael Niedermayer 9a626982f9 dont do startcode search from last syncpoint if there are no errors
Originally committed as revision 6969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:43:55 +00:00
Michael Niedermayer faf7cbf110 nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:37:21 +00:00
Michael Niedermayer 619d8e2e58 updating nut demuxer to latest spec
no muxing yet
no index yet
no seeking yet
libnuts crcs dont match mine (didnt investigate yet)
samplerate is stored wrong by libnut (demuxer has a workaround)
code is not clean or beautifull yet, but i thought its better to commit early before someone unneccesarily wastes his time duplicating the work
demuxer split from muxer

Originally committed as revision 6966 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 01:35:50 +00:00