---
 libavformat/wavdec.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c
index 2ef2d9e549..b9a782bec5 100644
--- a/libavformat/wavdec.c
+++ b/libavformat/wavdec.c
@@ -712,14 +712,14 @@ smv_out:
     }
 
     if (!CONFIG_S337M_DEMUXER || st->codecpar->codec_id != 
AV_CODEC_ID_DOLBY_E) {
-    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);
     } else {
         size = FFMIN(AVPRIV_S337M_MAX_RECOMMENDED_PROBE_SIZE, left);
         ret  = avpriv_s337m_get_packet((void *)s, s->pb, pkt, size, 0);
-- 
2.14.1.windows.1

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to