Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2020-03-27 23:31:52 +0300
committerTimo Rothenpieler <timo@rothenpieler.org>2020-03-28 19:59:29 +0300
commitb06ae06e6a5da3a9c6cd48e6f71656b94ea0e2d5 (patch)
tree7d6724cfd7e171377193d01d4ce8e74e3282e1e6 /libavutil
parent767f53533a10448fa6ad28e84ab0d7ca7dd9d8a4 (diff)
avutil/hwcontext: correctly set extended_data on hwframe_get_buffer
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/hwcontext.c2
1 files changed, 2 insertions, 0 deletions
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;
}