diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2020-03-27 21:31:52 +0100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2020-03-28 17:59:29 +0100 |
commit | b06ae06e6a5da3a9c6cd48e6f71656b94ea0e2d5 (patch) | |
tree | 7d6724cfd7e171377193d01d4ce8e74e3282e1e6 /libavutil/hwcontext.c | |
parent | 767f53533a10448fa6ad28e84ab0d7ca7dd9d8a4 (diff) | |
download | ffmpeg-b06ae06e6a5da3a9c6cd48e6f71656b94ea0e2d5.tar.gz |
avutil/hwcontext: correctly set extended_data on hwframe_get_buffer
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r-- | libavutil/hwcontext.c | 2 |
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; } |