This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
simplify 2 lines into 1 using FFMIN
Originally committed as revision 20043 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Justin Ruggles
15 years ago
parent
612bdf1808
commit
f805d5fc9d
1 changed files
with
1 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-2
libavcodec/ac3.c
+ 1
- 2
libavcodec/ac3.c
View File
@@ -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))
Write
Preview
Loading…
Cancel
Save