[FFmpeg-soc] [soc]: r2364 - dvbmuxer/mpegpesenc.c

bcoudurier subversion at mplayerhq.hu
Tue Jun 3 19:25:47 CEST 2008


Author: bcoudurier
Date: Tue Jun  3 19:25:47 2008
New Revision: 2364

Log:
realloc dont need +1 anymore

Modified:
   dvbmuxer/mpegpesenc.c

Modified: dvbmuxer/mpegpesenc.c
==============================================================================
--- dvbmuxer/mpegpesenc.c	(original)
+++ dvbmuxer/mpegpesenc.c	Tue Jun  3 19:25:47 2008
@@ -337,7 +337,7 @@ void ff_pes_write_packet(AVFormatContext
         stream->predecode_packet= pkt_desc;
     stream->next_packet= &pkt_desc->next;
 
-    av_fifo_realloc(&stream->fifo, av_fifo_size(&stream->fifo) + size + 1);
+    av_fifo_realloc(&stream->fifo, av_fifo_size(&stream->fifo) + size);
     av_fifo_generic_write(&stream->fifo, buf, size, NULL);
 }
 



More information about the FFmpeg-soc mailing list