1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avutil/hwcontext: correctly set extended_data on hwframe_get_buffer

This commit is contained in:
Timo Rothenpieler 2020-03-27 21:31:52 +01:00
parent 767f53533a
commit b06ae06e6a

View File

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