ffmpeg | branch: master | Linjie Fu <[email protected]> | Fri Feb 28 00:14:32 2020 +0800| [dfa1fc17a54a31e51f36f1f764dfdc76062ffe78] | committer: Michael Niedermayer
lavc/v4l2_context: fix compile warning for incompatible pointer type Signed-off-by: Linjie Fu <[email protected]> Reviewed-by: Andriy Gelman <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dfa1fc17a54a31e51f36f1f764dfdc76062ffe78 --- libavcodec/v4l2_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
