[FFmpeg-devel] [PATCH, resend] In mpegts "reserved_future_use" field must be set to 1 in SDT table
Georgi Chorbadzhiyski
gf
Fri Jan 28 17:28:20 CET 2011
On 1/27/11 4:26 PM, Ronald S. Bultje wrote:
> 2011/1/27 Georgi Chorbadzhiyski<gf at unixsol.org>:
>> Resend of the final patch rebased on todays master and with no
>> dependencies of other patches.
> [..]
>> @@ -128,6 +128,10 @@ static int mpegts_write_section1(MpegTSSection *s, int tid, int id,
>> {
>> uint8_t section[1024], *q;
>> unsigned int tot_len;
>> + unsigned int flags = 0xb000;
>> +
>> + if (tid == SDT_TID)
>> + flags |= 0xe000; /* reserved_future_use must be set to 1 */
>
> unsigned int flags = tid == SDT_TID ? 0xe000 : 0xb000;
>
> Rest OK.
See attached.
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/
More information about the ffmpeg-devel
mailing list