[FFmpeg-cvslog] alsdec: fix misplaced parentheses.

Clément Bœsch git at videolan.org
Tue Sep 18 15:24:44 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Tue Sep  4 14:30:14 2012 -0400| [ee0f53e966e3a637d9e0050d7be2689d4631faef] | committer: Justin Ruggles

alsdec: fix misplaced parentheses.

Signed-off-by: Justin Ruggles <justin.ruggles at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee0f53e966e3a637d9e0050d7be2689d4631faef
---

 libavcodec/alsdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");
 



More information about the ffmpeg-cvslog mailing list