[FFmpeg-devel] [PATCH 1/2] avcodec/ac3enc_template: add fbw_channels assert

Michael Niedermayer michael at niedermayer.cc
Mon Feb 12 01:03:57 EET 2024


On Mon, Feb 05, 2024 at 03:58:22AM +0100, Michael Niedermayer wrote:
> fbw_channels must be > 0 as teh code is only run if cpl_enabled is set and that requires mode >= AC3_CHMODE_STEREO
> 
> CID 718138 Uninitialized scalar variable
> 	assumes this assert to be false
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/ac3enc_template.c | 2 ++
>  1 file changed, 2 insertions(+)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240212/e04e1e56/attachment.sig>


More information about the ffmpeg-devel mailing list