Commit 82e88381 authored by Tong Wu's avatar Tong Wu Committed by Haihao Xiang

avcodec/dxva2: fix different 'const' qualifiers warning

Signed-off-by: 's avatarTong Wu <tong1.wu@intel.com>
parent 92ee7461
......@@ -795,7 +795,7 @@ unsigned ff_dxva2_get_surface_index(const AVCodecContext *avctx,
}
#endif
av_log(avctx, AV_LOG_WARNING, "Could not get surface index. Using 0 instead.\n");
av_log((AVCodecContext *)avctx, AV_LOG_WARNING, "Could not get surface index. Using 0 instead.\n");
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment