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)
_______________________________________________
FFmpeg-soc mailing list
[email protected]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to