summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@bootlin.com>2018-07-16 14:08:03 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-07-17 09:29:32 +0200
commite96891481979f1bf1eb327cf1ffc015458e377c6 (patch)
tree34a772a814b636aac664cdd97f5a0519229631bf /src
parent5aa1604a6c53d150ca647f2dc3a6129bc68ac74e (diff)
downloadlibva-v4l2-request-e96891481979f1bf1eb327cf1ffc015458e377c6.tar.gz
libva-v4l2-request-e96891481979f1bf1eb327cf1ffc015458e377c6.tar.bz2
libva-v4l2-request-e96891481979f1bf1eb327cf1ffc015458e377c6.zip
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 <maxime.ripard@bootlin.com>
Diffstat (limited to 'src')
-rw-r--r--src/h264.h4
1 files 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