Author: ramiro
Date: Sun Jun 22 20:06:10 2008
New Revision: 2553

Log:
Simplify check and vertically align.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c        (original)
+++ mlp/mlpdec.c        Sun Jun 22 20:06:10 2008
@@ -679,8 +679,8 @@ static int read_decoding_params(MLPDecod
                     if (read_filter_params(m, gbp, ch, IIR) < 0)
                         return -1;
 
-            if (m->filter_order[ch][FIR] > 0 && m->filter_order[ch][IIR] > 0
-                && m->filter_coeff_q[ch][FIR] != m->filter_coeff_q[ch][IIR]) {
+            if (m->filter_order  [ch][FIR] && m->filter_order  [ch][IIR] &&
+                m->filter_coeff_q[ch][FIR] != m->filter_coeff_q[ch][IIR]) {
                 av_log(m->avctx, AV_LOG_ERROR,
                        "FIR and IIR filters must use same precision\n");
                 return -1;
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to