dxva: fix some warnings
authorwm4 <nfxjfg@googlemail.com>
Thu, 22 Jun 2017 12:52:53 +0000 (14:52 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 26 Jun 2017 22:23:12 +0000 (00:23 +0200)
commit752ddb45569ffe278393cd853b70f18ae017219e
tree0f161fc8d7d39d6c214af9ab461d52ef3185fa8a
parent70e5e7c02232d1e51c362d5572c567a9e2a8dcc2
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.

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