Remove unnecessary parentheses from return calls.
[ffmpeg.git] / libavformat / bethsoftvid.c
index 594779698b5bfcf31d428c5979abc34e15e2745e..9b04d3fbe06c6641aafa1642f248c77cec763ee3 100644 (file)
@@ -202,7 +202,7 @@ static int vid_read_packet(AVFormatContext *s,
             audio_length = get_le16(pb);
             ret_value = av_get_packet(pb, pkt, audio_length);
             pkt->stream_index = 1;
-            return (ret_value != audio_length ? AVERROR(EIO) : ret_value);
+            return ret_value != audio_length ? AVERROR(EIO) : ret_value;
 
         case VIDEO_P_FRAME:
         case VIDEO_YOFF_P_FRAME: