diff mbox series

[FFmpeg-devel,v2,6/8] avformat/wavdec.c: Reindent after last commit

Message ID 20200115105602.1184-7-nicolas.gaullier@cji.paris
State New
Headers show
Series avformat: Use s337m subdemux inside wav
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Nicolas Gaullier Jan. 15, 2020, 10:56 a.m. UTC
---
 libavformat/wavdec.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index d030ed9f9d..3571733817 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -713,14 +713,14 @@  smv_out:
         size = FFMIN(S337M_MAX_OFFSET, left);
         ret  = ff_s337m_get_packet(s->pb, pkt, size, NULL, s, st->codecpar->bits_per_coded_sample);
     } else {
-    size = MAX_SIZE;
-    if (st->codecpar->block_align > 1) {
-        if (size < st->codecpar->block_align)
-            size = st->codecpar->block_align;
-        size = (size / st->codecpar->block_align) * st->codecpar->block_align;
-    }
-    size = FFMIN(size, left);
-    ret  = av_get_packet(s->pb, pkt, size);
+        size = MAX_SIZE;
+        if (st->codecpar->block_align > 1) {
+            if (size < st->codecpar->block_align)
+                size = st->codecpar->block_align;
+            size = (size / st->codecpar->block_align) * st->codecpar->block_align;
+        }
+        size = FFMIN(size, left);
+        ret  = av_get_packet(s->pb, pkt, size);
     }
 
     if (ret < 0)