adpcm: use sign_extend()
authorMans Rullgard <mans@mansr.com>
Sun, 23 Oct 2011 23:08:23 +0000 (00:08 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 24 Oct 2011 14:26:24 +0000 (15:26 +0100)
commitc8477df019f02a436c69e8ca54370dd5cf8eee97
tree418e5a2e6a72fd9a8551e8f14f09221cb35a232b
parentd99fe3a478a4b7cfd1fc3a05aa374b9cf44d13d8
adpcm: use sign_extend()

This avoids warnings from the overflow checker and simplifies the code.

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