[FFmpeg-soc] [soc]: r4550 - seek_api/parser.c
spyfeng
subversion at mplayerhq.hu
Tue Jun 30 19:03:21 CEST 2009
Author: spyfeng
Date: Tue Jun 30 19:03:20 2009
New Revision: 4550
Log:
set correct pos value when pos is -1.
Modified:
seek_api/parser.c
Modified: seek_api/parser.c
==============================================================================
--- seek_api/parser.c Mon Jun 29 19:42:38 2009 (r4549)
+++ seek_api/parser.c Tue Jun 30 19:03:20 2009 (r4550)
@@ -190,7 +190,7 @@ int av_parser_parse2(AVCodecParserContex
index = 0;
s->cur_offset += index;
if (s->pos == -1)
- s->pos = s->last_pos + index;
+ s->pos = s->cur_frame_pos[s->cur_frame_start_index];
return index;
}
More information about the FFmpeg-soc
mailing list