alsdec: fix misplaced parentheses.
authorClément Bœsch <ubitux@gmail.com>
Tue, 4 Sep 2012 18:30:14 +0000 (14:30 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 17 Sep 2012 18:17:27 +0000 (14:17 -0400)
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/alsdec.c

index dce76b0..1c3f0cb 100644 (file)
@@ -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");