Mercurial > libavformat.hg
diff rtp.c @ 3498:30682688ca93 libavformat
Do not set sample_rate = 90000 for mp2 and mp3 audio over RTP
author | lucabe |
---|---|
date | Tue, 24 Jun 2008 11:07:04 +0000 |
parents | 6f61c3b36632 |
children | 77e0c7511d41 |
line wrap: on
line diff
--- a/rtp.c Mon Jun 23 08:52:44 2008 +0000 +++ b/rtp.c Tue Jun 24 11:07:04 2008 +0000 @@ -57,8 +57,8 @@ {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},