Re: [FFmpeg-devel] [PATCH 1/3] avformat/dss: correct sample rate
On Tue, Feb 24, 2015 at 03:22:37PM +0100, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavformat/dss.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyrant has disposed of foreign enemies by conquest or treaty, and there is nothing more to fear from them, then he is always stirring up some war or other, in order that the people may require a leader. -- Plato signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH 1/3] avformat/dss: correct sample rate
Signed-off-by: Michael Niedermayer michae...@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 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel