ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Fri Mar 
27 21:31:52 2020 +0100| [b06ae06e6a5da3a9c6cd48e6f71656b94ea0e2d5] | committer: 
Timo Rothenpieler

avutil/hwcontext: correctly set extended_data on hwframe_get_buffer

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b06ae06e6a5da3a9c6cd48e6f71656b94ea0e2d5
---

 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;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to