[FFmpeg-cvslog] avformat/ipmovie: Fix indentation
Andreas Rheinhardt
git at videolan.org
Wed Mar 24 02:03:05 EET 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Mar 18 21:11:43 2021 +0100| [2ef4c5bba4a2519949df9f75170de516e927281e] | committer: Andreas Rheinhardt
avformat/ipmovie: Fix indentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2ef4c5bba4a2519949df9f75170de516e927281e
---
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;
}
}
More information about the ffmpeg-cvslog
mailing list