aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-06-24 11:07:04 +0000
committerLuca Abeni <lucabe72@email.it>2008-06-24 11:07:04 +0000
commit309d32b0db9e5bfc8109e96fb8e1e20bd51a5d13 (patch)
tree5a3e731942916662f028393cec0d9dad13b227c2
parentf5b6778184bba5d5787e2f0baf3ba8e8bba5f9f5 (diff)
downloadffmpeg-309d32b0db9e5bfc8109e96fb8e1e20bd51a5d13.tar.gz
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
-rw-r--r--libavformat/rtp.c4
1 files 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},