[FFmpeg-devel] [PATCH] avcodec/cuviddec: use AVCodec.bsfs to filter packets

Anton Khirnov anton at khirnov.net
Mon Mar 2 12:35:03 EET 2020


Quoting James Almer (2020-03-01 04:00:25)
[...]
> +    if (avctx->codec->bsfs) {
> +        const AVBSFContext *bsf = avctx->internal->filter.bsfs[avctx->internal->filter.nb_bsfs - 1];

yuck

I guess it's acceptable for now, but we'll want to get rid of that in
the future. Might be tricky though...

Patch looks good otherwise.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list