[FFmpeg-devel] [PATCH 1/2] avcodec: Set AV_CODEC_CAP_CHANNEL_CONF in more decoders

Michael Niedermayer michael at niedermayer.cc
Fri Nov 27 23:30:59 EET 2020


On Fri, Sep 11, 2020 at 03:46:43PM +0200, Paul B Mahol wrote:
> On Thu, Sep 10, 2020 at 02:02:19PM +0200, Michael Niedermayer wrote:
> > Suggested-by: Paul B Mahol <onemda at gmail.com>
> > See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channels
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/ac3dec_fixed.c       |  3 ++-
> >  libavcodec/ac3dec_float.c       |  6 ++++--
> >  libavcodec/adxdec.c             |  3 ++-
> >  libavcodec/flacdec.c            |  4 +++-
> >  libavcodec/mpegaudiodec_fixed.c | 15 ++++++++++-----
> >  libavcodec/mpegaudiodec_float.c | 15 ++++++++++-----
> >  libavcodec/pcm-dvd.c            |  3 ++-
> >  libavcodec/ralf.c               |  3 ++-
> >  libavcodec/s302m.c              |  3 ++-
> >  libavcodec/shorten.c            |  5 ++++-
> >  10 files changed, 41 insertions(+), 19 deletions(-)
> 
> I think siren also belongs here, as it hardcodes number of channels

will add siren and will apply


> in init, and vivo demuxer does not set channels in codecpar.

vivo sets channels in codecpar:
    ast->codecpar->channels = 1;

Thanks

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

Whats the most studid thing your enemy could do ? Blow himself up
Whats the most studid thing you could do ? Give up your rights and
freedom because your enemy blew himself up.

-------------- 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/20201127/3bddde3a/attachment.sig>


More information about the ffmpeg-devel mailing list