avformat/dss: correct sample rate
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Feb 2015 14:22:37 +0000 (15:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 25 Feb 2015 23:54:10 +0000 (00:54 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/dss.c

index 85cd26a..2830b90 100644 (file)
@@ -143,7 +143,7 @@ static int dss_read_header(AVFormatContext *s)
 
     if (ctx->audio_codec == DSS_ACODEC_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) {
         st->codec->codec_id    = AV_CODEC_ID_G723_1;
         st->codec->sample_rate = 8000;