[Ffmpeg-cvslog] r5545 - trunk/libavformat/utils.c

mru subversion
Thu Jun 29 21:02:15 CEST 2006


Author: mru
Date: Thu Jun 29 21:02:15 2006
New Revision: 5545

Modified:
   trunk/libavformat/utils.c

Log:
do not fail av_find_stream_info() if params for all streams could not be found


Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c	(original)
+++ trunk/libavformat/utils.c	Thu Jun 29 21:02:15 2006
@@ -1939,11 +1939,10 @@
                     char buf[256];
                     avcodec_string(buf, sizeof(buf), st->codec, 0);
                     av_log(ic, AV_LOG_INFO, "Could not find codec parameters (%s)\n", buf);
-                    break;
+                } else {
+                    ret = 0;
                 }
             }
-            if (i == ic->nb_streams)
-                ret = 0;
             break;
         }
 




More information about the ffmpeg-cvslog mailing list