[FFmpeg-soc] [soc]: r2311 - dvbmuxer/mpegtsenc.c
bcoudurier
subversion at mplayerhq.hu
Mon Jun 2 08:06:16 CEST 2008
Author: bcoudurier
Date: Mon Jun 2 08:06:16 2008
New Revision: 2311
Log:
fix continuity counter, start at 0
Modified:
dvbmuxer/mpegtsenc.c
Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c (original)
+++ dvbmuxer/mpegtsenc.c Mon Jun 2 08:06:16 2008
@@ -62,8 +62,8 @@ static void mpegts_write_section(MpegTSS
b |= 0x40;
*q++ = b;
*q++ = s->pid;
- s->cc = (s->cc + 1) & 0xf;
*q++ = 0x10 | s->cc;
+ s->cc = (s->cc + 1) & 0xf;
if (first)
*q++ = 0; /* 0 offset */
len1 = TS_PACKET_SIZE - (q - packet);
More information about the FFmpeg-soc
mailing list