Commit dfa1fc17 authored by Linjie Fu's avatar Linjie Fu Committed by Michael Niedermayer

lavc/v4l2_context: fix compile warning for incompatible pointer type

Signed-off-by: 's avatarLinjie Fu <linjie.fu@intel.com>
Reviewed-by: 's avatarAndriy Gelman <andriy.gelman@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 220c7dad
......@@ -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;
}
......
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