[FFmpeg-devel] [PATCH 11/18] avformat/ipmovie: Fix indentation
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Fri Mar 19 07:58:57 EET 2021
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavformat/ipmovie.c | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/libavformat/ipmovie.c b/libavformat/ipmovie.c
index f1cc30b6c0..a71575235f 100644
--- a/libavformat/ipmovie.c
+++ b/libavformat/ipmovie.c
@@ -686,27 +686,27 @@ static int ipmovie_read_packet(AVFormatContext *s,
int ret;
for (;;) {
- ret = process_ipmovie_chunk(ipmovie, pb, pkt);
+ ret = process_ipmovie_chunk(ipmovie, pb, pkt);
/* dispatch the first of any pending packets */
if ((ret == CHUNK_VIDEO) || (ret == CHUNK_AUDIO_ONLY))
ret = load_ipmovie_packet(ipmovie, pb, pkt);
- if (ret == CHUNK_BAD)
- ret = AVERROR_INVALIDDATA;
- else if (ret == CHUNK_EOF)
- ret = AVERROR(EIO);
- else if (ret == CHUNK_NOMEM)
- ret = AVERROR(ENOMEM);
- else if (ret == CHUNK_END || ret == CHUNK_SHUTDOWN)
- ret = AVERROR_EOF;
- else if (ret == CHUNK_HAVE_PACKET)
- ret = 0;
- else if (ret == CHUNK_INIT_VIDEO || ret == CHUNK_INIT_AUDIO)
- continue;
- else
- continue;
-
- return ret;
+ if (ret == CHUNK_BAD)
+ ret = AVERROR_INVALIDDATA;
+ else if (ret == CHUNK_EOF)
+ ret = AVERROR(EIO);
+ else if (ret == CHUNK_NOMEM)
+ ret = AVERROR(ENOMEM);
+ else if (ret == CHUNK_END || ret == CHUNK_SHUTDOWN)
+ ret = AVERROR_EOF;
+ else if (ret == CHUNK_HAVE_PACKET)
+ ret = 0;
+ else if (ret == CHUNK_INIT_VIDEO || ret == CHUNK_INIT_AUDIO)
+ continue;
+ else
+ continue;
+
+ return ret;
}
}
--
2.27.0
More information about the ffmpeg-devel
mailing list