mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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>
This commit is contained in:
parent
220c7dadc4
commit
dfa1fc17a5
@ -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…
Reference in New Issue
Block a user