forked from FFmpeg/FFmpeg
avutil/hwcontext: correctly set extended_data on hwframe_get_buffer
This commit is contained in:
parent
767f53533a
commit
b06ae06e6a
1 changed files with 2 additions and 0 deletions
|
@ -557,6 +557,8 @@ int av_hwframe_get_buffer(AVBufferRef *hwframe_ref, AVFrame *frame, int flags)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
frame->extended_data = frame->data;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue