[FFmpeg-devel] [PATCH] lavfi/avfiltergraph: always reduce all_layouts to a single layout
george at nsup.org
Wed Nov 23 17:49:27 EET 2016
Le duodi 2 frimaire, an CCXXV, Marton Balint a écrit :
> Wouldn't it make sense to change the default to allow unknown channel
> layouts as well, if no query_formats is specified?
Only if you volunteer to monitor all merges from the fork to check that
they work with unknown layouts.
Because that is the issue; filters from the fork that need the number of
channels get it from the channel layout, and if a filter uses the
invalid number of channels it may cause crashes, possibly exploitable.
More information about the ffmpeg-devel