[FFmpeg-devel] [PATCH]lavf/mpegts: Do not print the character coding as part of service name

Moritz Barsnick barsnick at gmx.net
Thu Feb 7 17:34:18 EET 2019


On Thu, Feb 07, 2019 at 14:40:40 +0100, Carl Eugen Hoyos wrote:
> +    if (p[0] < 0x20) {
> +        p++;
> +        if (--len < 0)
> +            return NULL;
> +    }

If I understand section "A.2 Selection of character table" of ETSI EN
300 468 correctly, you need to drop an additional byte if the first
byte (p[0]) is 0x1F, or an additional two bytes if the first one is
0x10.

Cheers,
Moritz


More information about the ffmpeg-devel mailing list