From 7c6f9b9d638a9ae6020c8a388d5a6f2a89620663 Mon Sep 17 00:00:00 2001 From: Haihao Xiang Date: Wed, 5 Jan 2022 11:52:07 +0800 Subject: Revert "avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions" This reverts commit a4289497755386435783774a4f520eb7fc23cbc9. There were objections on ML (see https://ffmpeg.org/pipermail/ffmpeg-devel/2021-December/290530.html) Signed-off-by: Haihao Xiang --- libavutil/hwcontext_internal.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libavutil/hwcontext_internal.h') diff --git a/libavutil/hwcontext_internal.h b/libavutil/hwcontext_internal.h index f6fb67c491..e6266494ac 100644 --- a/libavutil/hwcontext_internal.h +++ b/libavutil/hwcontext_internal.h @@ -109,12 +109,6 @@ struct AVHWDeviceInternal { * context it was derived from. */ AVBufferRef *source_device; - - /** - * An array of reference to device contexts which - * were derived from this device. - */ - AVBufferRef *derived_devices[AV_HWDEVICE_TYPE_NB]; }; struct AVHWFramesInternal { -- cgit v1.2.3