From e96891481979f1bf1eb327cf1ffc015458e377c6 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Mon, 16 Jul 2018 14:08:03 +0200 Subject: [PATCH] h264: define properly the set controls function The h264_fill_controls isn't used anywhere, but the h264_set_controls function is. Since the one defined in the header is _fill_controls, this leads to a warning at compile time. Fix it. Signed-off-by: Maxime Ripard --- src/h264.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/h264.h b/src/h264.h index 8d52475..160057d 100644 --- a/src/h264.h +++ b/src/h264.h @@ -30,7 +30,7 @@ struct object_surface; struct sunxi_cedrus_driver_data; -int h264_fill_controls(struct sunxi_cedrus_driver_data *driver, - struct object_surface *surface); +int h264_set_controls(struct sunxi_cedrus_driver_data *data, + struct object_surface *surface); #endif