diff options
author | Aman Gupta <aman@tmm1.net> | 2019-08-23 22:31:24 +0300 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2019-09-03 01:12:44 +0300 |
commit | b6c6f56e385cb421bdfeab28f15346aa6892c682 (patch) | |
tree | d358bb72a71c96f7db91ffde6bd790db333e7e8c /libavcodec/v4l2_m2m.c | |
parent | e8c5ce1acb8bb7ad09dbe03c6ccb48874c2f9606 (diff) |
avcodec/v4l2_m2m: use log_ctx variable consistently
Signed-off-by: Aman Gupta <aman@tmm1.net>
Diffstat (limited to 'libavcodec/v4l2_m2m.c')
-rw-r--r-- | libavcodec/v4l2_m2m.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c index 82ff847cf7..0bd6cc0f92 100644 --- a/libavcodec/v4l2_m2m.c +++ b/libavcodec/v4l2_m2m.c @@ -254,13 +254,13 @@ int ff_v4l2_m2m_codec_full_reinit(V4L2m2mContext *s) ret = ff_v4l2_context_set_status(&s->output, VIDIOC_STREAMOFF); if (ret) { - av_log(s->avctx, AV_LOG_ERROR, "output VIDIOC_STREAMOFF\n"); + av_log(log_ctx, AV_LOG_ERROR, "output VIDIOC_STREAMOFF\n"); goto error; } ret = ff_v4l2_context_set_status(&s->capture, VIDIOC_STREAMOFF); if (ret) { - av_log(s->avctx, AV_LOG_ERROR, "capture VIDIOC_STREAMOFF\n"); + av_log(log_ctx, AV_LOG_ERROR, "capture VIDIOC_STREAMOFF\n"); goto error; } |