[SCM] libav/experimental: dont output information about what is demuxed after a seek failure
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:55:59 UTC 2013
The following commit has been merged in the experimental branch:
commit b929eb50415fe002d60588bb29b4f05e3ce39c69
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Mon Feb 5 23:14:23 2007 +0000
dont output information about what is demuxed after a seek failure
Originally committed as revision 7843 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/tests/seek_test.c b/tests/seek_test.c
index cbc3dd5..215c1ae 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list