[FFmpeg-devel] [PATCH] fix continuity counter to start at 0
Baptiste Coudurier
baptiste.coudurier
Tue Jun 3 02:54:33 CEST 2008
Hey M?ns,
M?ns Rullg?rd wrote:
> Baptiste Coudurier <baptiste.coudurier at smartjog.com> writes:
>
>> Hi,
>>
>> $subject.
>>
>> --
>> Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
>> Smartjog USA Inc. http://www.smartjog.com
>> Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
>>
>> Index: libavformat/mpegtsenc.c
>> ===================================================================
>> --- libavformat/mpegtsenc.c (revision 13635)
>> +++ libavformat/mpegtsenc.c (working copy)
>> @@ -61,8 +61,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);
>
> Not that it matters at all where the counter starts, but patch ok.
>
You're right, and applied.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list