[FFmpeg-soc] [soc]: r2391 - dvbmuxer/mpegenc.c

bcoudurier subversion at mplayerhq.hu
Thu Jun 5 20:03:25 CEST 2008


Author: bcoudurier
Date: Thu Jun  5 20:03:25 2008
New Revision: 2391

Log:
use ff_pes_muxer_end

Modified:
   dvbmuxer/mpegenc.c

Modified: dvbmuxer/mpegenc.c
==============================================================================
--- dvbmuxer/mpegenc.c	(original)
+++ dvbmuxer/mpegenc.c	Thu Jun  5 20:03:25 2008
@@ -890,12 +890,8 @@ static int mpeg_mux_end(AVFormatContext 
     //put_be32(ctx->pb, ISO_11172_END_CODE);
     //put_flush_packet(ctx->pb);
 
-    for(i=0;i<ctx->nb_streams;i++) {
-        stream = ctx->streams[i]->priv_data;
+    ff_pes_muxer_end(ctx);
 
-        assert(av_fifo_size(&stream->fifo) == 0);
-        av_fifo_free(&stream->fifo);
-    }
     av_free(s->payload);
     return 0;
 }



More information about the FFmpeg-soc mailing list