summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_video.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_video.c b/src/gallium/drivers/ilo/ilo_video.c
index 95305db37b1..04be1da81a2 100644
--- a/src/gallium/drivers/ilo/ilo_video.c
+++ b/src/gallium/drivers/ilo/ilo_video.c
@@ -35,9 +35,9 @@
* Nothing here. We could make use of the video codec engine someday.
*/
-static struct pipe_video_decoder *
+static struct pipe_video_codec *
ilo_create_video_decoder(struct pipe_context *pipe,
- const struct pipe_video_decoder *templ)
+ const struct pipe_video_codec *templ)
{
return vl_create_decoder(pipe, templ);
}
@@ -55,6 +55,6 @@ ilo_create_video_buffer(struct pipe_context *pipe,
void
ilo_init_video_functions(struct ilo_context *ilo)
{
- ilo->base.create_video_decoder = ilo_create_video_decoder;
+ ilo->base.create_video_codec = ilo_create_video_decoder;
ilo->base.create_video_buffer = ilo_create_video_buffer;
}