Remove incorrect silencing (#2526).
authorCarl Hetherington <cth@carlh.net>
Thu, 11 May 2023 01:24:57 +0000 (03:24 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 11 May 2023 08:40:20 +0000 (10:40 +0200)
commit5f7a045d3898332149ecbe3dba7b14ba030da463
treef232523e376b46a4380214aade3c43e24fa9d08e
parent4b055d1aa3661ba9ec28d425e7692d0adccf02d2
Remove incorrect silencing (#2526).

On switching to the new FFmpeg send/receive API in
e29ce33a36c2e20444d57196defc86d5072bce81
the channels variable in deinterleave_audio() was switched from
stream channels to frame channels.

I'm not sure if this is right, but it does mean that audio has
`channels` channels, so calling make_silent() up to the stream
channel count is clearly wrong if the stream has more channels
than the frame.
src/lib/ffmpeg_decoder.cc