dxva: fix some warnings
authorwm4 <nfxjfg@googlemail.com>
Thu, 22 Jun 2017 12:52:53 +0000 (14:52 +0200)
committerwm4 <nfxjfg@googlemail.com>
Tue, 27 Jun 2017 16:05:02 +0000 (18:05 +0200)
commit39f201a0ec7913f7509a01fb0fa6634a24e52203
treeb56f293e68a33751ca6ac46fa24393ff2ce74455
parente2afcc33e0bcba92ab6c767f09f17a67911a4928
dxva: fix some warnings

Some existed since forever, some are new.

The cast in get_surface() is silly, but unless we change the av_log
function signature, or all callers of ff_dxva2_get_surface_index(), it's
needed to remove the const warning.

Merges Libav commit 752ddb45569ffe278393cd853b70f18ae017219e.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dxva2.c