Fix av_get_channel_layout_string() for positions >31
authorMans Rullgard <mans@mansr.com>
Fri, 25 Nov 2011 14:58:50 +0000 (14:58 +0000)
committerMans Rullgard <mans@mansr.com>
Fri, 25 Nov 2011 15:19:55 +0000 (15:19 +0000)
commit019dd2365729d44d66a5b629102e1ecb919f4f67
treeb8ad7c00a2b1eadc28c8975afb2a743184526bcf
parentbe1e872582c861873bd9ca8c1098da55f41bced4
Fix av_get_channel_layout_string() for positions >31

A value shifted left by >31 needs to have a 64-bit type.
As there are no defined channels in this range, the fix
is purely theoretical at this point, although it does
avoid some invalid shifts triggering the overflow
checker.

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