OSDN Git Service

ac3enc: Remove unneeded clipping of shift amount.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 10 Feb 2011 22:12:16 +0000 (22:12 +0000)
committerMans Rullgard <mans@mansr.com>
Thu, 10 Feb 2011 23:16:23 +0000 (23:16 +0000)
commit626264b11b5406c0c78c4056cabb63cb650e9bf2
tree8da1cb2ab023e381f7d886fcb820731fcbed4645
parentd4582889eefeee4dd23face9e74b2829dbaaeae5
ac3enc: Remove unneeded clipping of shift amount.

s->windowed_samples will always have a range of [-32767,32767] due to the
window function, so the return value from log2_tab() will always be in the
range [0,14].

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/ac3enc_fixed.c