Commit f805d5fc authored by Justin Ruggles's avatar Justin Ruggles

simplify 2 lines into 1 using FFMIN

Originally committed as revision 20043 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 612bdf18
......@@ -156,8 +156,7 @@ int ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *band_psd,
}
}
end1=bndend;
if (end1 > 22) end1=22;
end1 = FFMIN(bndend, 22);
for (bin = begin; bin < end1; bin++) {
if (!(is_lfe && bin == 6))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment