codecs: pass the context to the controls function as well

Some functions setting the controls will need the context in the future.
Make sure that we provide it as an argument.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-16 14:13:16 +02:00
parent 5aeb07f8bf
commit acc0cf3475
5 changed files with 13 additions and 5 deletions
+4 -1
View File
@@ -27,9 +27,12 @@
#ifndef _H264_H_
#define _H264_H_
struct object_context;
struct object_surface;
struct cedrus_data;
int h264_set_controls(struct cedrus_data *data, struct object_surface *surface);
int h264_set_controls(struct cedrus_data *data,
struct object_context *context,
struct object_surface *surface);
#endif