mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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 c73d99e672)
This commit is contained in:
parent
a35d782d28
commit
fe2ff6d247
32 changed files with 1204 additions and 882 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue