avcodec/v4l2_context: Fix indentation
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Aman Gupta <aman@tmm1.net>
This commit is contained in:
parent
ccc83ff11e
commit
e759fbfbc4
|
@ -717,8 +717,8 @@ int ff_v4l2_context_init(V4L2Context* ctx)
|
||||||
ctx->num_buffers = req.count;
|
ctx->num_buffers = req.count;
|
||||||
ctx->buffers = av_mallocz(ctx->num_buffers * sizeof(V4L2Buffer));
|
ctx->buffers = av_mallocz(ctx->num_buffers * sizeof(V4L2Buffer));
|
||||||
if (!ctx->buffers) {
|
if (!ctx->buffers) {
|
||||||
av_log(logger(ctx), AV_LOG_ERROR, "%s malloc enomem\n", ctx->name);
|
av_log(logger(ctx), AV_LOG_ERROR, "%s malloc enomem\n", ctx->name);
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < req.count; i++) {
|
for (i = 0; i < req.count; i++) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user