Fix 100l incorrect bitmask check.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 10 Oct 2009 08:49:57 +0000 (08:49 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 10 Oct 2009 08:49:57 +0000 (08:49 +0000)
Originally committed as revision 20197 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dca.c

index e411c36..f1a5ab4 100644 (file)
@@ -609,7 +609,7 @@ static int dca_subframe_header(DCAContext * s)
                 s->joint_scale_factor[j][k] = scale;    /*joint_scale_table[scale]; */
             }
 
-            if (!s->debug_flag & 0x02) {
+            if (!(s->debug_flag & 0x02)) {
                 av_log(s->avctx, AV_LOG_DEBUG,
                        "Joint stereo coding not supported\n");
                 s->debug_flag |= 0x02;