summaryrefslogtreecommitdiff
path: root/codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'codec.c')
-rw-r--r--codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec.c b/codec.c
index 4bd15fe..4eea14f 100644
--- a/codec.c
+++ b/codec.c
@@ -483,7 +483,7 @@ void CodecVideoOpen(VideoDecoder * decoder, const char *name, int codec_id)
} else {
decoder->VideoCtx->get_format = Codec_get_format;
decoder->VideoCtx->hwaccel_context =
- VideoGetVaapiContext(decoder->HwDecoder);
+ VideoGetHwAccelContext(decoder->HwDecoder);
}
// our pixel format video hardware decoder hook