diff --git a/libavformat/4xm.c b/libavformat/4xm.c index 43aa64a286a6be2f25d49e4d814dc4ac2bce4872..17fe7c493d67c1e98b7507774c3b62d293c67c6d 100644 --- a/libavformat/4xm.c +++ b/libavformat/4xm.c @@ -271,8 +271,6 @@ static int fourxm_read_packet(AVFormatContext *s, case ifr2_TAG: case pfr2_TAG: case cfr2_TAG: - { - /* allocate 8 more bytes than 'size' to account for fourcc * and size */ if (size + 8 < size || av_new_packet(pkt, size + 8)) @@ -288,7 +286,6 @@ static int fourxm_read_packet(AVFormatContext *s, else packet_read = 1; break; - } case snd__TAG: track_number = get_le32(pb);