pcm: reduce pointer type casting
authorMans Rullgard <mans@mansr.com>
Sat, 8 Oct 2011 11:47:53 +0000 (12:47 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 13 Oct 2011 16:56:13 +0000 (17:56 +0100)
commitb45eb9d619d4a039a44bcd1dd82ec70ad29819f0
tree2939f76f0b09f5879f524511e83698de5be3d03f
parentf59bb3d8f3eb50aa182b0d7ae209848b94a507cc
pcm: reduce pointer type casting

Making 'samples' a pointer to uint8_t simplifies the DECODE
macro and reduces the amount of type casting overall.

This also fixes some signed overflows on left shift.

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