Module: libav
Branch: master
Commit: ee0f53e966e3a637d9e0050d7be2689d4631faef

Author:    Clément Bœsch <[email protected]>
Committer: Justin Ruggles <[email protected]>
Date:      Tue Sep  4 14:30:14 2012 -0400

alsdec: fix misplaced parentheses.

Signed-off-by: Justin Ruggles <[email protected]>

---

 libavcodec/alsdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c
index dce76b0..1c3f0cb 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");
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to