Commit 970a8fbc authored by jbr's avatar jbr

Set bits_per_raw_sample in the pcm decoder.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23566 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent efe9bdd1
......@@ -227,6 +227,10 @@ static av_cold int pcm_decode_init(AVCodecContext * avctx)
}
avctx->sample_fmt = avctx->codec->sample_fmts[0];
if (avctx->sample_fmt == SAMPLE_FMT_S32)
avctx->bits_per_raw_sample = av_get_bits_per_sample(avctx->codec->id);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment