aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/ffmenc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-10-11 12:58:31 +0100
committerMans Rullgard <mans@mansr.com>2011-10-11 15:00:56 +0100
commit8babfc033ecb6332155c1f8879e54dee41d16952 (patch)
tree763df742c177a25a0404f72ddf343771bf4b48d2 /libavformat/ffmenc.c
parent88d1e2b2b0a129365a62efd666db0394e8ffbe08 (diff)
downloadffmpeg-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 'libavformat/ffmenc.c')
0 files changed, 0 insertions, 0 deletions