summaryrefslogtreecommitdiffstats
path: root/video/decode/rpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/decode/rpi.c')
-rw-r--r--video/decode/rpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/decode/rpi.c b/video/decode/rpi.c
index b72dc34faa..f2ed6d2549 100644
--- a/video/decode/rpi.c
+++ b/video/decode/rpi.c
@@ -50,9 +50,9 @@ static int init(struct lavc_ctx *ctx)
}
static int probe(struct vd_lavc_hwdec *hwdec, struct mp_hwdec_info *info,
- const char *decoder)
+ const char *codec)
{
- return map_codec(decoder) ? 0 : HWDEC_ERR_NO_CODEC;
+ return map_codec(codec) ? 0 : HWDEC_ERR_NO_CODEC;
}
static const char *get_codec(struct lavc_ctx *ctx, const char *codec)