diff mbox series

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

Message ID 20200327204303.29174-3-timo@rothenpieler.org
State Accepted
Headers show
Series [FFmpeg-devel,1/3] avutil/frame: make frame copy functions hwframe aware
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Timo Rothenpieler March 27, 2020, 8:43 p.m. UTC
---
 libavutil/hwcontext.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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