[FFmpeg-devel] [PATCH] avformat/mpegtsenc: Preserve disposition in the absence of language
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Sat Apr 3 10:15:56 EEST 2021
stephen douglas:
> ISO 639 language descriptors used by DVB are the 3 charecter variants hence
> const char *language = lang && strlen(lang->value) >= 3 ? lang->value : default_language;should beconst char *language = lang && strlen(lang->value) > 3 ? lang->value : default_language;
1. Stop top-posting.
2. Are you even aware that strlen does not include the trailing \0?
> On Saturday, 3 April 2021, 06:53:20 BST, Andreas Rheinhardt <andreas.rheinhardt at outlook.com> wrote:
>
> Implements ticket #9113.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
More information about the ffmpeg-devel
mailing list