diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-08 22:04:29 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-08 22:04:29 +0000 |
commit | 80783dc2c2c611750cf2ff9d3027f283f8a2dc5b (patch) | |
tree | 973a4a733012a8daebc69cbf7b883db59d0e5809 /libavformat/rtp.c | |
parent | dcedf5867207ea21c5e492434e6466d1aac79de3 (diff) | |
download | ffmpeg-80783dc2c2c611750cf2ff9d3027f283f8a2dc5b.tar.gz |
CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r-- | libavformat/rtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c index d9f99f1fda..46e1fd88b4 100644 --- a/libavformat/rtp.c +++ b/libavformat/rtp.c @@ -170,7 +170,7 @@ int rtp_get_payload_type(AVCodecContext *codec) } break; case CODEC_ID_MP2: - case CODEC_ID_MP3LAME: + case CODEC_ID_MP3: payload_type = RTP_PT_MPEGAUDIO; break; case CODEC_ID_MJPEG: @@ -390,7 +390,7 @@ static int rtp_write_header(AVFormatContext *s1) switch(st->codec.codec_id) { case CODEC_ID_MP2: - case CODEC_ID_MP3LAME: + case CODEC_ID_MP3: s->buf_ptr = s->buf + 4; s->cur_timestamp = 0; break; @@ -650,7 +650,7 @@ static int rtp_write_packet(AVFormatContext *s1, int stream_index, rtp_send_samples(s1, buf1, size, 2 * st->codec.channels); break; case CODEC_ID_MP2: - case CODEC_ID_MP3LAME: + case CODEC_ID_MP3: rtp_send_mpegaudio(s1, buf1, size); break; case CODEC_ID_MPEG1VIDEO: |