[FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Mar 9 19:48:51 EET 2024


asivery via ffmpeg-devel:
> +        const char *title_contents = title_entry->value;
> +        title_length = strlen(title_contents);
> +        if (title_length > 256) {
> +            av_log(s, AV_LOG_WARNING, "Title too long, truncated to 256 bytes.\n");
> +            title_length = 256;
> +        }

I actually meant that you should use size_t for title_length (so that
the output of strlen() is never truncated) instead of adding a warning
that will likely never be triggered in practice.

- Andreas



More information about the ffmpeg-devel mailing list