diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-18 21:11:43 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-24 00:25:38 +0100 |
commit | 2ef4c5bba4a2519949df9f75170de516e927281e (patch) | |
tree | 0e37f191b5ccd137401fc356f2e189e90177e534 | |
parent | 7070bc53aa10d050a52a282a59d262c236f9281b (diff) | |
download | ffmpeg-2ef4c5bba4a2519949df9f75170de516e927281e.tar.gz |
avformat/ipmovie: Fix indentation
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavformat/ipmovie.c | 34 |
1 files 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; } } |