Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt <[email protected]> > --- > libavcodec/options.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/options.c b/libavcodec/options.c > index 91ab994994..2e05d29e1e 100644 > --- a/libavcodec/options.c > +++ b/libavcodec/options.c > @@ -68,7 +68,7 @@ static const AVClass *codec_child_class_iterate(void **iter) > static AVClassCategory get_category(void *ptr) > { > AVCodecContext* avctx = ptr; > - if (avctx->codec && ffcodec(avctx->codec)->decode) > + if (avctx->codec && av_codec_is_decoder(avctx->codec)) > return AV_CLASS_CATEGORY_DECODER; > else > return AV_CLASS_CATEGORY_ENCODER;
Will apply the first five patches of this patchset tonight unless there are objections. - Andreas _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
