mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
lavc/qsv: remove vaapi device free function
It is not needed since av_buffer_unref() will call it internally Signed-off-by: Zhong Li <zhong.li@intel.com>
This commit is contained in:
parent
9d92403add
commit
949a1b3e2f
@ -835,10 +835,6 @@ int ff_qsv_close_internal_session(QSVSession *qs)
|
||||
qs->session = NULL;
|
||||
}
|
||||
#ifdef AVCODEC_QSV_LINUX_SESSION_HANDLE
|
||||
if (qs->va_device_ctx) {
|
||||
qs->va_device_ctx->free(qs->va_device_ctx);
|
||||
}
|
||||
|
||||
av_buffer_unref(&qs->va_device_ref);
|
||||
#endif
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user