[Ffmpeg-cvslog] r7843 - trunk/tests/seek_test.c

michael subversion
Tue Feb 6 00:14:24 CET 2007


Author: michael
Date: Tue Feb  6 00:14:23 2007
New Revision: 7843

Modified:
   trunk/tests/seek_test.c

Log:
dont output information about what is demuxed after a seek failure


Modified: trunk/tests/seek_test.c
==============================================================================
--- trunk/tests/seek_test.c	(original)
+++ trunk/tests/seek_test.c	Tue Feb  6 00:14:23 2007
@@ -65,7 +65,7 @@
         AVStream *st;
 
         memset(&pkt, 0, sizeof(pkt));
-
+        if(ret>=0){
         ret= av_read_frame(ic, &pkt);
         printf("ret:%2d", ret);
         if(ret>=0){
@@ -73,6 +73,7 @@
             printf(" st:%2d dts:%f pts:%f pos:%Ld 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-cvslog mailing list