[FFmpeg-devel] [PATCH] speexdec fix

Anton Khirnov anton at khirnov.net
Tue Sep 6 11:03:01 EEST 2022


Quoting Paul B Mahol (2022-09-06 10:03:51)
> On Tue, Sep 6, 2022 at 9:57 AM Anton Khirnov <anton at khirnov.net> wrote:
> > Quoting Paul B Mahol (2022-09-03 18:24:51)
> > > -    return buf_size;
> > > +    return (get_bits_count(&s->gb) + 7) >> 3;
> >
> > Doesn't this need AV_CODEC_CAP_SUBFRAMES?
> >
> 
> Dunno, documentation is not clear on this.

decode_simple_internal() will warn if AV_CODEC_CAP_SUBFRAMES is not set.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list