[FFmpeg-soc] [soc]: r4552 - seek_api/seektest/seek_test2.c
spyfeng
subversion at mplayerhq.hu
Tue Jun 30 19:43:58 CEST 2009
Author: spyfeng
Date: Tue Jun 30 19:43:58 2009
New Revision: 4552
Log:
continue read the frame when seek failed.
Modified:
seek_api/seektest/seek_test2.c
Modified: seek_api/seektest/seek_test2.c
==============================================================================
--- seek_api/seektest/seek_test2.c Tue Jun 30 19:10:52 2009 (r4551)
+++ seek_api/seektest/seek_test2.c Tue Jun 30 19:43:58 2009 (r4552)
@@ -78,7 +78,7 @@ int main(int argc, char **argv)
AVStream *av_uninit(st);
memset(&pkt, 0, sizeof(pkt));
- if(ret>=0){
+ //if(ret>=0){
ret= av_read_frame(ic, &pkt);
printf("ret:%2d", ret);
if(ret>=0){
@@ -86,7 +86,7 @@ int main(int argc, char **argv)
printf(" st:%2d dts:%"PRId64" pts:%"PRId64" pos:%" PRId64 " size:%d flags:%d", pkt.stream_index, pkt.dts/**av_q2d(st->time_base)*/, pkt.pts/**av_q2d(st->time_base)*/, pkt.pos, pkt.size, pkt.flags);
}
printf("\n");
- }
+ //}
if(i>25) break;
More information about the FFmpeg-soc
mailing list