
20 Nov
2006
20 Nov
'06
3:13 p.m.
Author: ods15 Date: Mon Nov 20 15:13:55 2006 New Revision: 257 Modified: trunk/libnut/demuxer.c Log: prevent seeking in nut_read_headers to find first syncpoint if there is no seek function Modified: trunk/libnut/demuxer.c ============================================================================== --- trunk/libnut/demuxer.c (original) +++ trunk/libnut/demuxer.c Mon Nov 20 15:13:55 2006 @@ -1035,7 +1035,7 @@ } // step 4 - find the first syncpoint in file - if (nut->last_headers > 1024 && !nut->seek_status) { + if (nut->last_headers > 1024 && !nut->seek_status && nut->i->isc.seek) { // the headers weren't found in begginning of file assert(nut->i->isc.seek); seek_buf(nut->i, 0, SEEK_SET);
6837
Age (days ago)
6837
Last active (days ago)
0 comments
1 participants
participants (1)
-
ods15