ffmpeg not selecting first available stream, patch by (Nathan Kurz <nate at verse...
authorNathan Kurz <nate@verse.com>
Wed, 29 Sep 2004 15:53:37 +0000 (15:53 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Sep 2004 15:53:37 +0000 (15:53 +0000)
Originally committed as revision 3538 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index fecb314..bafab6a 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1445,6 +1445,7 @@ static int av_encode(AVFormatContext **output_files,
                         ist->st->codec.codec_type == ost->st->codec.codec_type) {
                         ost->source_index = j;
                         found = 1;
+                        break;
                     }
                 }