summaryrefslogtreecommitdiff
path: root/libavcodec/v4l2_m2m_enc.c
diff options
context:
space:
mode:
authorAndriy Gelman <andriy.gelman@gmail.com>2020-08-23 13:34:01 -0400
committerAndriy Gelman <andriy.gelman@gmail.com>2020-08-23 13:42:07 -0400
commit58b8541330aa088d02df82962589357b6e5f8f28 (patch)
treea4ec36e389a0443ca6de156560df139fcca14f80 /libavcodec/v4l2_m2m_enc.c
parent8bc7f69cefbcbb265b41717608dc8436dc864a55 (diff)
avcodec/v4l2_m2m_enc: reindent after previous commit
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
Diffstat (limited to 'libavcodec/v4l2_m2m_enc.c')
-rw-r--r--libavcodec/v4l2_m2m_enc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/v4l2_m2m_enc.c b/libavcodec/v4l2_m2m_enc.c
index 4230a415fd..f644b50133 100644
--- a/libavcodec/v4l2_m2m_enc.c
+++ b/libavcodec/v4l2_m2m_enc.c
@@ -296,12 +296,12 @@ static int v4l2_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
goto dequeue;
if (!frame->buf[0]) {
- ret = ff_encode_get_frame(avctx, frame);
- if (ret < 0 && ret != AVERROR_EOF)
- return ret;
+ ret = ff_encode_get_frame(avctx, frame);
+ if (ret < 0 && ret != AVERROR_EOF)
+ return ret;
- if (ret == AVERROR_EOF)
- frame = NULL;
+ if (ret == AVERROR_EOF)
+ frame = NULL;
}
ret = v4l2_send_frame(avctx, frame);