[FFmpeg-devel] [PATCH 1/7] avformat/mov_chan: Check for FF_SANE_NB_CHANNELS
Anton Khirnov
anton at khirnov.net
Fri Sep 13 13:08:45 EEST 2024
Quoting Michael Niedermayer (2024-09-13 01:33:31)
> We do not support more channels. For example avcodec_open2() limits channels this way too
>
> The example file contains multiple chunks with over 16 million channels
We had this discussion already. Ad-hoc checks like this are only
addressing a symptom (probably one of many), and hide the actual bug.
> +#include "libavcodec/internal.h"
I dislike this as well.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list