adpcmdec: calculate actual number of output samples for each decoder.
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 2 Oct 2011 14:18:17 +0000 (10:18 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 14 Oct 2011 19:53:41 +0000 (15:53 -0400)
commita62c0f94ee5c96e98b1f91d9f1ab9f568037bb00
tree3ae7699dee495af046dbd090bed0a7bdeec71937
parent439998e18bdbdabd010fd9ab676a7298b62bf53d
adpcmdec: calculate actual number of output samples for each decoder.

This also allows for removing some of the buf_size checks and using the
sample count for some of the decoding loops.
libavcodec/adpcm.c