[FFmpeg-devel] [PATCH 3/3] libavutil/hwcontext: correctly set extended_data on hwframe_get_buffer

Timo Rothenpieler timo at rothenpieler.org
Fri Mar 27 22:43:03 EET 2020


---
 libavutil/hwcontext.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c
index d09a15a249..b01612de05 100644
--- a/libavutil/hwcontext.c
+++ b/libavutil/hwcontext.c
@@ -557,6 +557,8 @@ int av_hwframe_get_buffer(AVBufferRef *hwframe_ref, AVFrame *frame, int flags)
         return ret;
     }
 
+    frame->extended_data = frame->data;
+
     return 0;
 }
 
-- 
2.20.1



More information about the ffmpeg-devel mailing list