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
+2
View File
@@ -26,10 +26,12 @@
#ifndef _MPEG2_H_
#define _MPEG2_H_
struct object_context;
struct object_surface;
struct cedrus_data;
int mpeg2_set_controls(struct cedrus_data *driver_data,
struct object_context *context,
struct object_surface *surface_object);
#endif