Browse Source

lavc/v4l2_context: fix compile warning for incompatible pointer type

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Linjie Fu Michael Niedermayer 5 years ago
parent
commit
dfa1fc17a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/v4l2_context.c

+ 1
- 1
libavcodec/v4l2_context.c View File

@@ -48,7 +48,7 @@ static inline V4L2m2mContext *ctx_to_m2mctx(V4L2Context *ctx)
container_of(ctx, V4L2m2mContext, capture);
}

static inline AVClass *logger(V4L2Context *ctx)
static inline AVCodecContext *logger(V4L2Context *ctx)
{
return ctx_to_m2mctx(ctx)->avctx;
}


Loading…
Cancel
Save