rmdec: add missing brackets to compound statement
authorSean McGovern <gseanmcg@gmail.com>
Tue, 25 Jul 2017 22:04:32 +0000 (18:04 -0400)
committerSean McGovern <gseanmcg@gmail.com>
Tue, 25 Jul 2017 23:19:20 +0000 (19:19 -0400)
Accidentally left out of 95ce02b35d3d1bb16111031df1d82a6e4d894d36.

libavformat/rmdec.c

index b8ba24e..1d7df54 100644 (file)
@@ -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;