[FFmpeg-devel] [PATCH] fix ts Continuity Count
Limin Wang
lance.lmwang
Fri Aug 31 08:06:25 CEST 2007
Hi,
$subj, please review it.
Thanks,
Limin
-------------- next part --------------
Index: libavformat/mpegtsenc.c
===================================================================
--- libavformat/mpegtsenc.c (revision 10270)
+++ libavformat/mpegtsenc.c (working copy)
@@ -60,8 +60,8 @@
b |= 0x40;
*q++ = b;
*q++ = s->pid;
+ *q++ = 0x10 | s->cc;
s->cc = (s->cc + 1) & 0xf;
- *q++ = 0x10 | s->cc;
if (first)
*q++ = 0; /* 0 offset */
len1 = TS_PACKET_SIZE - (q - packet);
More information about the ffmpeg-devel
mailing list