musepack: fix signed shift overflow in mpc_read_packet()
authorMans Rullgard <mans@mansr.com>
Sun, 27 Nov 2011 10:29:33 +0000 (10:29 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 27 Nov 2011 10:30:16 +0000 (10:30 +0000)
commitd9ba767d615ffb1f51ac3f990c51768ea8622da8
treed20e5e8be1a17e02280bb603d487e974115fdb0c
parent028a2375e25d66d1f927f8a0b531eaaf6642cf5c
musepack: fix signed shift overflow in mpc_read_packet()

Using an unsigned variable avoids problems with overflows.
There is further no need for a 64-bit intermediate here.

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