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

bcoudurier subversion at mplayerhq.hu
Wed Jun 4 10:33:01 CEST 2008


Author: bcoudurier
Date: Wed Jun  4 10:33:01 2008
New Revision: 2384

Log:
those are pointers

Modified:
   dvbmuxer/mpegpesenc.c

Modified: dvbmuxer/mpegpesenc.c
==============================================================================
--- dvbmuxer/mpegpesenc.c	(original)
+++ dvbmuxer/mpegpesenc.c	Wed Jun  4 10:33:01 2008
@@ -273,7 +273,7 @@ int ff_pes_write_buf(AVFormatContext *ct
     }
 
     /* output data */
-    assert(payload_size - stuffing_size <= av_fifo_size(&stream->fifo));
+    assert(*payload_size - *stuffing_size <= av_fifo_size(&stream->fifo));
     if(av_fifo_read(&stream->fifo, p, *payload_size - *stuffing_size) < 0)
         return -1;
     return p - buf + *payload_size - *stuffing_size;



More information about the FFmpeg-soc mailing list