aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/alsdec.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 /libavcodec/alsdec.c
parent4931c8f0f10bf8dedcf626104a6b85bfefadc6f2 (diff)
downloadffmpeg-2f0f9a87d0e8d27ce6ad5b81134d01b9d2392cd1.tar.gz
Fix various if parenthesis misplacements.
Diffstat (limited to 'libavcodec/alsdec.c')
-rw-r--r--libavcodec/alsdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index fdcbd3fb44..fc98970bd7 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1442,7 +1442,7 @@ static int decode_frame(AVCodecContext *avctx,
ctx->cur_frame_length = sconf->frame_length;
// decode the frame data
- if ((invalid_frame = read_frame_data(ctx, ra_frame) < 0))
+ if ((invalid_frame = read_frame_data(ctx, ra_frame)) < 0)
av_log(ctx->avctx, AV_LOG_WARNING,
"Reading frame data failed. Skipping RA unit.\n");