summaryrefslogtreecommitdiff
path: root/libavformat/wav.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-21 07:50:03 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-21 19:35:33 +0100
commit2f0f9a87d0e8d27ce6ad5b81134d01b9d2392cd1 (patch)
tree312539bfc29ba8d565c6cd958cbfbf8a8885d2bc /libavformat/wav.c
parent4931c8f0f10bf8dedcf626104a6b85bfefadc6f2 (diff)
Fix various if parenthesis misplacements.
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r--libavformat/wav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 096f706c37..22914c9ad5 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -442,7 +442,7 @@ static int wav_read_header(AVFormatContext *s,
switch (tag) {
case MKTAG('f', 'm', 't', ' '):
/* only parse the first 'fmt ' tag found */
- if (!got_fmt && (ret = wav_parse_fmt_tag(s, size, &st) < 0)) {
+ if (!got_fmt && (ret = wav_parse_fmt_tag(s, size, &st)) < 0) {
return ret;
} else if (got_fmt)
av_log(s, AV_LOG_WARNING, "found more than one 'fmt ' tag\n");