Some compilers don't seem to require this, but let's just be
explicit to avoid the ambiguity.

Accidentally left out of 95ce02b35d3d1bb16111031df1d82a6e4d894d36.
---
 libavformat/rmdec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index b8ba24e..1d7df54 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -784,10 +784,11 @@ ff_rm_parse_packet (AVFormatContext *s, AVIOContext *pb,
                 return ret;
             rm_ac3_swap_bytes(st, pkt);
         }
-    } else
+    } else {
         ret = av_get_packet(pb, pkt, len);
         if (ret < 0)
             return ret;
+    }
 
     pkt->stream_index = st->index;
 
-- 
2.7.4

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

Reply via email to