[FFmpeg-devel] [PATCH, resend] In mpegts "reserved_future_use" field must be set to 1 in SDT table
Janne Grunau
janne-ffmpeg
Fri Jan 28 17:34:10 CET 2011
On Fri, Jan 28, 2011 at 06:28:20PM +0200, Georgi Chorbadzhiyski wrote:
> 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.
ok and queued
Janne
More information about the ffmpeg-devel
mailing list