Commit ec8fdba2 authored by Felix Abecassis's avatar Felix Abecassis

vdpau: fix redundant const qualifier

Was meant as constant pointer and constant pointed data.
parent 490324fb
......@@ -321,7 +321,7 @@ VdpStatus vdp_output_surface_render_output_surface(const vdp_t *vdp,
VdpOutputSurface dst_surface, const VdpRect *dst_rect,
VdpOutputSurface src_surface, const VdpRect *src_rect,
const VdpColor *colors,
const VdpOutputSurfaceRenderBlendState const *state, uint32_t flags)
const VdpOutputSurfaceRenderBlendState *const state, uint32_t flags)
{
return vdp->vt.output_surface_render_output_surface(dst_surface, dst_rect,
src_surface, src_rect, colors, state, flags);
......@@ -422,7 +422,7 @@ VdpStatus vdp_video_mixer_set_feature_enables(const vdp_t *vdp,
VdpStatus vdp_video_mixer_set_attribute_values(const vdp_t *vdp,
VdpVideoMixer mixer, uint32_t count,
const VdpVideoMixerAttribute const *ids, const void *const *values)
const VdpVideoMixerAttribute *const ids, const void *const *values)
{
return vdp->vt.video_mixer_set_attribute_values(mixer, count, ids, values);
}
......
......@@ -79,7 +79,7 @@ VdpStatus vdp_bitmap_surface_put_bits_native(const vdp_t *, VdpBitmapSurface,
const void *const *, const uint32_t *, const VdpRect *);
VdpStatus vdp_output_surface_render_output_surface(const vdp_t *,
VdpOutputSurface, const VdpRect *, VdpOutputSurface, const VdpRect *,
const VdpColor *, const VdpOutputSurfaceRenderBlendState const *,
const VdpColor *, const VdpOutputSurfaceRenderBlendState *const,
uint32_t);
VdpStatus vdp_output_surface_render_bitmap_surface(const vdp_t *,
VdpOutputSurface, const VdpRect *, VdpBitmapSurface, const VdpRect *,
......@@ -110,7 +110,7 @@ VdpStatus vdp_video_mixer_create(const vdp_t *, VdpDevice, uint32_t,
VdpStatus vdp_video_mixer_set_feature_enables(const vdp_t *, VdpVideoMixer,
uint32_t, const VdpVideoMixerFeature *, const VdpBool *);
VdpStatus vdp_video_mixer_set_attribute_values(const vdp_t *, VdpVideoMixer,
uint32_t, const VdpVideoMixerAttribute const *, const void *const *);
uint32_t, const VdpVideoMixerAttribute *const, const void *const *);
VdpStatus vdp_video_mixer_get_feature_support(const vdp_t *, VdpVideoMixer,
uint32_t, const VdpVideoMixerFeature *, VdpBool *);
VdpStatus vdp_video_mixer_get_feature_enables(const vdp_t *, VdpVideoMixer,
......
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