Commit 8064265a authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/dss: correct sample rate

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent bc65abc8
...@@ -143,7 +143,7 @@ static int dss_read_header(AVFormatContext *s) ...@@ -143,7 +143,7 @@ static int dss_read_header(AVFormatContext *s)
if (ctx->audio_codec == DSS_ACODEC_DSS_SP) { if (ctx->audio_codec == DSS_ACODEC_DSS_SP) {
st->codec->codec_id = AV_CODEC_ID_DSS_SP; st->codec->codec_id = AV_CODEC_ID_DSS_SP;
st->codec->sample_rate = 12000; st->codec->sample_rate = 11025;
} else if (ctx->audio_codec == DSS_ACODEC_G723_1) { } else if (ctx->audio_codec == DSS_ACODEC_G723_1) {
st->codec->codec_id = AV_CODEC_ID_G723_1; st->codec->codec_id = AV_CODEC_ID_G723_1;
st->codec->sample_rate = 8000; st->codec->sample_rate = 8000;
......
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