rmdec: add missing brackets to compound statement

Accidentally left out of 95ce02b35d.
This commit is contained in:
Sean McGovern 2017-07-25 18:04:32 -04:00
parent 550cb6a85d
commit 80e919b174
1 changed files with 2 additions and 1 deletions

View 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;