summaryrefslogtreecommitdiffstats
path: root/libavcodec/wma.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-30 15:06:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2011-02-04 03:08:09 +0100
commitfe2ff6d24745f0739bfde9061092c1268557310b (patch)
tree9cbcf8b2472dd7612dd84c8b6b237d9d02b4daf9 /libavcodec/wma.c
parenta35d782d28ef0497f2b65eb300c2e6a6028fc165 (diff)
downloadffmpeg-streaming-fe2ff6d24745f0739bfde9061092c1268557310b.zip
ffmpeg-streaming-fe2ff6d24745f0739bfde9061092c1268557310b.tar.gz
Separate format conversion DSP functions from DSPContext.
This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit c73d99e672329c8f2df290736ffc474c360ac4ae)
Diffstat (limited to 'libavcodec/wma.c')
-rw-r--r--libavcodec/wma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c
index e0b9b68..a7eacb8 100644
--- a/libavcodec/wma.c
+++ b/libavcodec/wma.c
@@ -126,6 +126,7 @@ int ff_wma_init(AVCodecContext *avctx, int flags2)
s->block_align = avctx->block_align;
dsputil_init(&s->dsp, avctx);
+ ff_fmt_convert_init(&s->fmt_conv, avctx);
if (avctx->codec->id == CODEC_ID_WMAV1) {
s->version = 1;
OpenPOWER on IntegriCloud