mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/dxva2: fix different 'const' qualifiers warning
Signed-off-by: Tong Wu <tong1.wu@intel.com>
This commit is contained in:
parent
92ee7461c3
commit
82e8838165
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue