diff options
author | Mans Rullgard <mans@mansr.com> | 2011-10-11 12:58:31 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-10-11 15:00:56 +0100 |
commit | 8babfc033ecb6332155c1f8879e54dee41d16952 (patch) | |
tree | 763df742c177a25a0404f72ddf343771bf4b48d2 /libavcodec/simple_idct.c | |
parent | 88d1e2b2b0a129365a62efd666db0394e8ffbe08 (diff) | |
download | ffmpeg-8babfc033ecb6332155c1f8879e54dee41d16952.tar.gz |
h264: fix invalid shifts in init_cavlc_level_tab()
The level_code expression includes a shift which is invalid in
those cases where the value is not used. Moving the calculation
to the branch where the result is used avoids these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/simple_idct.c')
0 files changed, 0 insertions, 0 deletions