History

lavc/v4l2_context: fix compile warning for incompatible pointer type

Linjie Fu committed 6 years ago

Commit dfa1fc11 parent 220c7da1 file · +1 −1Browse files

Unified · Split

libavcodec/v4l2_context.c+1−1
@@ -48,7 +48,7 @@ static inline V4L2m2mContext *ctx_to_m2mctx(V4L2Context *ctx) · 47 unmodified lines
48 container_of(ctx, V4L2m2mContext, capture);48 container_of(ctx, V4L2m2mContext, capture);
49}49}
50 50
51static inline AVClass *logger(V4L2Context *ctx)51static inline AVCodecContext *logger(V4L2Context *ctx)
52{52{
53 return ctx_to_m2mctx(ctx)->avctx;53 return ctx_to_m2mctx(ctx)->avctx;
54}54}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t