[FFmpeg-devel] [PATCH 12/42] avcodec/decode: Use RefStruct API for hwaccel_picture_private
Anton Khirnov
anton at khirnov.net
Mon Oct 2 13:39:33 EEST 2023
Quoting Andreas Rheinhardt (2023-09-19 21:57:04)
> diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
> index 513856749a..7436e0a54f 100644
> --- a/libavcodec/h264dec.h
> +++ b/libavcodec/h264dec.h
> @@ -117,7 +117,6 @@ typedef struct H264Picture {
> AVBufferRef *mb_type_buf;
> uint32_t *mb_type;
>
> - AVBufferRef *hwaccel_priv_buf;
> void *hwaccel_picture_private; ///< hardware accelerator private data
Is there a reason you didn't add a comment that this is a refstruct?
Same for mpegvideo
Otherwise looks good.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list