[FFmpeg-soc] [soc]: r4533 - seek_api/parser.c
spyfeng
subversion at mplayerhq.hu
Sat Jun 27 15:35:59 CEST 2009
Author: spyfeng
Date: Sat Jun 27 15:35:59 2009
New Revision: 4533
Log:
set correct pos when cannot get pos from ff_fetch_timestamp().
Modified:
seek_api/parser.c
Modified: seek_api/parser.c
==============================================================================
--- seek_api/parser.c Sat Jun 27 15:28:08 2009 (r4532)
+++ seek_api/parser.c Sat Jun 27 15:35:59 2009 (r4533)
@@ -188,6 +188,8 @@ int av_parser_parse2(AVCodecParserContex
if (index < 0)
index = 0;
s->cur_offset += index;
+ if (s->pos == -1)
+ s->pos = s->last_pos + index;
return index;
}
More information about the FFmpeg-soc
mailing list