[FFmpeg-devel] [PATCH] configure: remove -Werror=vla

Hendrik Leppkes h.leppkes at gmail.com
Wed Apr 7 12:02:07 EEST 2021


On Wed, Apr 7, 2021 at 10:44 AM Guo, Yejun <yejun.guo at intel.com> wrote:
>
> It is not a problem for pointers to VLA used to compute sizes and
> offsets in an isolated function, so we can remove this flag.
>
> We still need to keep in mind not to use actual VLAs on the stack.
>

As noted in the other thread, VLAs are not supported by all compilers
we support, so they cannot be used.

- Hendrik


More information about the ffmpeg-devel mailing list