[FFmpeg-devel] [RFC] [PATCH 1/5] hwcontext: add a new AVHWFramesContext.opaque field
Lynne
dev at lynne.ee
Tue Jun 13 07:48:24 EEST 2023
Jun 13, 2023, 06:43 by andreas.rheinhardt at outlook.com:
> 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
>
Yes, copy and paste error.
Fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hwcontext-add-a-new-AVHWFramesContext.opaque-field.patch
Type: text/x-diff
Size: 2141 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230613/28529005/attachment.patch>
More information about the ffmpeg-devel
mailing list