Art Clarke <[EMAIL PROTECTED]> added the comment:

And here's the proposed patch:

Index: libavformat/utils.c
===================================================================
--- libavformat/utils.c (revision 13819)
+++ libavformat/utils.c (working copy)
@@ -2551,7 +2551,7 @@
         pktl= pktl->next;
     }
 
-    if(s->nb_streams == stream_count || (flush && stream_count)){
+    if(stream_count && (s->nb_streams == stream_count || flush)){
         pktl= s->packet_buffer;
         *out= pktl->pkt;

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue497>
______________________________________________________

Reply via email to