[FFmpeg-devel] [PATCH 17/30] lavc: support AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE in all no-delay encoders
Anton Khirnov
anton at khirnov.net
Sun Nov 27 21:43:18 EET 2022
Quoting Michael Niedermayer (2022-11-27 18:43:49)
> On Sun, Nov 27, 2022 at 06:03:38PM +0100, Anton Khirnov wrote:
> > ---
> [...]
> > diff --git a/libavcodec/libilbc.c b/libavcodec/libilbc.c
> > index 9ef6e16bc5..0787b5c313 100644
> > --- a/libavcodec/libilbc.c
> > +++ b/libavcodec/libilbc.c
> > @@ -126,7 +126,8 @@ const FFCodec ff_libilbc_decoder = {
> ^^^^^^^
>
> > .priv_data_size = sizeof(ILBCDecContext),
> > .init = ilbc_decode_init,
> > FF_CODEC_DECODE_CB(ilbc_decode_frame),
> ^^^^^^
> > - .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF,
> > + .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF |
> > + AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE,
>
> I think you changed the wrong instance
Good catch, fixed locally.
Of course it happens on one of the few codecs disabled in my builds.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list