From 309d32b0db9e5bfc8109e96fb8e1e20bd51a5d13 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Tue, 24 Jun 2008 11:07:04 +0000 Subject: [PATCH] Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP Originally committed as revision 13943 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/rtp.c b/libavformat/rtp.c index 4627abc4e2..b1501e6704 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -57,8 +57,8 @@ static const struct {11, "L16", CODEC_TYPE_AUDIO, CODEC_ID_PCM_S16BE, 44100, 1}, {12, "QCELP", CODEC_TYPE_AUDIO, CODEC_ID_QCELP, 8000, 1}, {13, "CN", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 8000, 1}, - {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP2, 90000, -1}, - {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP3, 90000, -1}, + {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP2, -1, -1}, + {14, "MPA", CODEC_TYPE_AUDIO, CODEC_ID_MP3, -1, -1}, {15, "G728", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 8000, 1}, {16, "DVI4", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 11025, 1}, {17, "DVI4", CODEC_TYPE_AUDIO, CODEC_ID_NONE, 22050, 1},