Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinjie Fu <linjie.fu@intel.com>2020-02-27 19:14:32 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2020-02-28 21:40:05 +0300
commitdfa1fc17a54a31e51f36f1f764dfdc76062ffe78 (patch)
treea187a792af582097e3581bb61b3507699480c7ec /libavcodec/v4l2_context.c
parent220c7dadc4988e4ef52e93b098e6f02283f7852a (diff)
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>
Diffstat (limited to 'libavcodec/v4l2_context.c')
-rw-r--r--libavcodec/v4l2_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index 95a2bfa6a4..8110bbb555 100644
--- a/libavcodec/v4l2_context.c
+++ b/libavcodec/v4l2_context.c
@@ -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;
}