Fix undefined behavior: left shift of negative value
Compilers are good at optimizing multiplication by shift.
Also fix few gcc warnings.
Compilers are good at optimizing multiplication by shift.
Also fix few gcc warnings.
VideoLAN code repository instance