Commit c9d06df6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: vicodec: get_next_header is static

drivers/media/platform/vicodec/vicodec-core.c:drivers/media/platform/vicodec/vicodec-core.c:210:23:  warning: symbol 'get_next_header' was not declared. Should it be static?
drivers/media/platform/vicodec/vicodec-core.c:210:23: warning: no previous prototype for 'get_next_header' [-Wmissing-prototypes]
 enum vb2_buffer_state get_next_header(struct vicodec_ctx *ctx, u8 **pp, u32 sz)
                       ^~~~~~~~~~~~~~~
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent f863f222
...@@ -207,7 +207,8 @@ static int device_process(struct vicodec_ctx *ctx, ...@@ -207,7 +207,8 @@ static int device_process(struct vicodec_ctx *ctx,
/* /*
* mem2mem callbacks * mem2mem callbacks
*/ */
enum vb2_buffer_state get_next_header(struct vicodec_ctx *ctx, u8 **pp, u32 sz) static enum vb2_buffer_state get_next_header(struct vicodec_ctx *ctx,
u8 **pp, u32 sz)
{ {
static const u8 magic[] = { static const u8 magic[] = {
0x4f, 0x4f, 0x4f, 0x4f, 0xff, 0xff, 0xff, 0xff 0x4f, 0x4f, 0x4f, 0x4f, 0xff, 0xff, 0xff, 0xff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment