[FFmpeg-soc] [soc]: r2553 - mlp/mlpdec.c
ramiro
subversion at mplayerhq.hu
Sun Jun 22 20:06:10 CEST 2008
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;
More information about the FFmpeg-soc
mailing list