# HG changeset patch # User jbr # Date 1254027456 0 # Node ID 4ce987b9234845310b5898149ea57109f59fe4b3 # Parent 38e05838efc0ca1d1ff7df664932ec4cd0e1181b simplify 2 lines into 1 using FFMIN diff -r 38e05838efc0 -r 4ce987b92348 ac3.c --- a/ac3.c Sun Sep 27 04:55:37 2009 +0000 +++ b/ac3.c Sun Sep 27 04:57:36 2009 +0000 @@ -156,8 +156,7 @@ } } - end1=bndend; - if (end1 > 22) end1=22; + end1 = FFMIN(bndend, 22); for (bin = begin; bin < end1; bin++) { if (!(is_lfe && bin == 6))