Mercurial > libavformat.hg
changeset 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 | f9c75fed4805 |
children | e54614e83ba4 |
files | rtp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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},