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
4848 container_of(ctx, V4L2m2mContext, capture);
4949 }
5050
51−static inline AVClass *logger(V4L2Context *ctx)
51+static inline AVCodecContext *logger(V4L2Context *ctx)
5252 {
5353 return ctx_to_m2mctx(ctx)->avctx;
5454 }

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