aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:14:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-05 23:14:23 +0000
commitb929eb50415fe002d60588bb29b4f05e3ce39c69 (patch)
treede9251a15d532ffc0822febec969cd7be2ffe6da
parentded3c7da61e64cf23d2f7bedbd9cf269743e64a6 (diff)
downloadffmpeg-b929eb50415fe002d60588bb29b4f05e3ce39c69.tar.gz
dont output information about what is demuxed after a seek failure
Originally committed as revision 7843 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/seek_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/seek_test.c b/tests/seek_test.c
index cbc3dd5245..215c1aec88 100644
--- a/tests/seek_test.c
+++ b/tests/seek_test.c
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
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 @@ int main(int argc, char **argv)
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;