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

bcoudurier subversion at mplayerhq.hu
Mon Jun 2 21:37:27 CEST 2008


Author: bcoudurier
Date: Mon Jun  2 21:37:27 2008
New Revision: 2329

Log:
use av_fifo_generic_write

Modified:
   dvbmuxer/mpegpesenc.c

Modified: dvbmuxer/mpegpesenc.c
==============================================================================
--- dvbmuxer/mpegpesenc.c	(original)
+++ dvbmuxer/mpegpesenc.c	Mon Jun  2 21:37:27 2008
@@ -367,7 +367,7 @@ void ff_pes_write_packet(AVFormatContext
     stream->next_packet= &pkt_desc->next;
 
     av_fifo_realloc(&stream->fifo, av_fifo_size(&stream->fifo) + size + 1);
-    av_fifo_write(&stream->fifo, buf, size);
+    av_fifo_generic_write(&stream->fifo, buf, size, NULL);
 }
 
 void ff_pes_muxer_end(AVFormatContext *ctx)



More information about the FFmpeg-soc mailing list