[FFmpeg-soc] [soc]: r607 - dvbmuxer/muxer_dev/mpegtsenc.c

realsun subversion at mplayerhq.hu
Sat Aug 4 13:41:03 CEST 2007


Author: realsun
Date: Sat Aug  4 13:41:03 2007
New Revision: 607

Log:
changed header length calculation to fix the TS video display bug

Modified:
   dvbmuxer/muxer_dev/mpegtsenc.c

Modified: dvbmuxer/muxer_dev/mpegtsenc.c
==============================================================================
--- dvbmuxer/muxer_dev/mpegtsenc.c	(original)
+++ dvbmuxer/muxer_dev/mpegtsenc.c	Sat Aug  4 13:41:03 2007
@@ -655,8 +655,6 @@ static int flush_packet(AVFormatContext 
 
         /* packet header */
         header_len = 3;
-        if (stream->packet_number==0)
-            header_len += 3; /* PES extension */
         header_len += 1; /* obligatory stuffing byte */
         if (pts != AV_NOPTS_VALUE) {
             if (dts != pts)



More information about the FFmpeg-soc mailing list