diff options
author | Sean McGovern <gseanmcg@gmail.com> | 2017-07-25 18:04:32 -0400 |
---|---|---|
committer | Sean McGovern <gseanmcg@gmail.com> | 2017-07-25 19:19:20 -0400 |
commit | 80e919b17435da18c0f2be6403a0315cf4b40a1a (patch) | |
tree | 1ade27551324588100e0f1675cec74db9de8f7cc /libavformat | |
parent | 550cb6a85d0f7211289f7a789527d48cb29460ff (diff) | |
download | ffmpeg-80e919b17435da18c0f2be6403a0315cf4b40a1a.tar.gz |
rmdec: add missing brackets to compound statement
Accidentally left out of 95ce02b35d3d1bb16111031df1d82a6e4d894d36.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rmdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index b8ba24e928..1d7df544a1 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; |