From: Clément Bœsch <[email protected]>

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 db8433a..ef98536 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");
 
-- 
1.7.1

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

Reply via email to