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
pull/126/head
Luca Abeni 17 years ago
parent f5b6778184
commit 309d32b0db
  1. 4
      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},

Loading…
Cancel
Save