[FFmpeg-devel] [PATCH, resend] In mpegts "reserved_future_use" field must be set to 1 in SDT table

Ronald S. Bultje rsbultje
Thu Jan 27 15:26:40 CET 2011


Hi,

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.

Ronald



More information about the ffmpeg-devel mailing list