[FFmpeg-devel] [RFC] [PATCH 1/5] hwcontext: add a new AVHWFramesContext.opaque field

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Jun 13 07:44:17 EEST 2023


Lynne:
> +    dst->opaque    = av_buffer_ref(src->opaque);
> +    if (!dst->internal->source_frames) {
> +        ret = AVERROR(ENOMEM);
> +        goto fail;
> +    }

Don't you want to check for !dst->opaque?

- Andreas



More information about the ffmpeg-devel mailing list