[FFmpeg-soc] [soc]: r4438 - wmapro/wma3dec.c
faust3
subversion at mplayerhq.hu
Fri Jun 12 12:52:01 CEST 2009
Author: faust3
Date: Fri Jun 12 12:52:01 2009
New Revision: 4438
Log:
set avctx->sample_fmt
Modified:
wmapro/wma3dec.c
Modified: wmapro/wma3dec.c
==============================================================================
--- wmapro/wma3dec.c Fri Jun 12 11:41:54 2009 (r4437)
+++ wmapro/wma3dec.c Fri Jun 12 12:52:01 2009 (r4438)
@@ -306,6 +306,8 @@ static av_cold int decode_init(AVCodecCo
s->avctx = avctx;
dsputil_init(&s->dsp, avctx);
+ avctx->sample_fmt = SAMPLE_FMT_S16;
+
/** FIXME: is this really the right thing to do for 24 bits? */
s->sample_bit_depth = 16; // avctx->bits_per_sample;
if (avctx->extradata_size >= 18) {
More information about the FFmpeg-soc
mailing list