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) {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc