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

bcoudurier subversion at mplayerhq.hu
Tue Jun 3 20:46:40 CEST 2008


Author: bcoudurier
Date: Tue Jun  3 20:46:40 2008
New Revision: 2365

Log:
remove assert, already present in ff_pes_find_bestream

Modified:
   dvbmuxer/mpegenc.c

Modified: dvbmuxer/mpegenc.c
==============================================================================
--- dvbmuxer/mpegenc.c	(original)
+++ dvbmuxer/mpegenc.c	Tue Jun  3 20:46:40 2008
@@ -885,9 +885,8 @@ static int output_packet(AVFormatContext
     MpegMuxContext *s = ctx->priv_data;
     AVStream *st;
     StreamInfo *stream;
-    int res, avail_space=0, es_size, trailer_size;
+    int res, es_size, trailer_size;
     int best_i= -1;
-    int ignore_constraints=0;
     int64_t scr= s->last_scr;
     PacketDesc *timestamp_packet;
 
@@ -901,8 +900,6 @@ static int output_packet(AVFormatContext
 
     assert(av_fifo_size(&stream->fifo) > 0);
 
-    assert(avail_space >= s->packet_size || ignore_constraints);
-
     timestamp_packet= stream->premux_packet;
     if(timestamp_packet->unwritten_size == timestamp_packet->size){
         trailer_size= 0;



More information about the FFmpeg-soc mailing list