vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 23 Feb 2011 18:11:13 +0000 (13:11 -0500)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 26 Feb 2011 02:16:04 +0000 (03:16 +0100)
commit1e898e7d35ccb3020da7c58d030e369cb65f3ed3
tree52ca55f9ba3dbcfc9c776e28cf64b5fd05b2586f
parentf3618b014b89aa757f9206507b86056c342f6da3
vmdaudio: output 8-bit audio as AV_SAMPLE_FMT_U8.

There is no need to expand to 16-bits. Just use memcpy() to copy the raw data.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 1108f8998c6536bb44d6ecbe5adfa18e0c1478e8)
libavcodec/vmdav.c
tests/ref/fate/sierra-vmd