summaryrefslogtreecommitdiff
path: root/libavcodec/alsdec.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-09-04 14:30:14 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-09-17 14:17:27 -0400
commitee0f53e966e3a637d9e0050d7be2689d4631faef (patch)
tree35108c4ba0965bfd3deb49244c155118e2e65d41 /libavcodec/alsdec.c
parentac3f5a6879396680c616eabba13609c753939070 (diff)
alsdec: fix misplaced parentheses.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
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 dce76b0a71..1c3f0cbdb5 100644
--- a/libavcodec/alsdec.c
+++ b/libavcodec/alsdec.c
@@ -1453,7 +1453,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr,
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");