[FFmpeg-cvslog] avcodec/v4l2_context: Fix indentation

Andriy Gelman git at videolan.org
Fri Nov 22 22:07:09 EET 2019


ffmpeg | branch: master | Andriy Gelman <andriy.gelman at gmail.com> | Tue Nov 12 00:37:03 2019 -0500| [e759fbfbc4772d9a91031452c8910d1e272924f2] | committer: Aman Gupta

avcodec/v4l2_context: Fix indentation

Signed-off-by: Andriy Gelman <andriy.gelman at gmail.com>
Signed-off-by: Aman Gupta <aman at tmm1.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e759fbfbc4772d9a91031452c8910d1e272924f2
---

 libavcodec/v4l2_context.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index 874761752c..bdc2b84153 100644
--- a/libavcodec/v4l2_context.c
+++ b/libavcodec/v4l2_context.c
@@ -717,8 +717,8 @@ int ff_v4l2_context_init(V4L2Context* ctx)
     ctx->num_buffers = req.count;
     ctx->buffers = av_mallocz(ctx->num_buffers * sizeof(V4L2Buffer));
     if (!ctx->buffers) {
-            av_log(logger(ctx), AV_LOG_ERROR, "%s malloc enomem\n", ctx->name);
-            return AVERROR(ENOMEM);
+        av_log(logger(ctx), AV_LOG_ERROR, "%s malloc enomem\n", ctx->name);
+        return AVERROR(ENOMEM);
     }
 
     for (i = 0; i < req.count; i++) {



More information about the ffmpeg-cvslog mailing list