[FFmpeg-devel] [PATCH 1/3] avformat/dss: correct sample rate
Michael Niedermayer
michaelni at gmx.at
Tue Feb 24 15:22:37 CET 2015
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/dss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/dss.c b/libavformat/dss.c
index 66a30aa..76538d77 100644
--- a/libavformat/dss.c
+++ b/libavformat/dss.c
@@ -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;
--
1.7.9.5
More information about the ffmpeg-devel
mailing list