summaryrefslogtreecommitdiff
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-08 22:04:29 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-08 22:04:29 +0000
commit80783dc2c2c611750cf2ff9d3027f283f8a2dc5b (patch)
tree973a4a733012a8daebc69cbf7b883db59d0e5809 /libavformat/avienc.c
parentdcedf5867207ea21c5e492434e6466d1aac79de3 (diff)
CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 103860b277..f5ecfa8ff6 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -240,7 +240,7 @@ static void parse_specific_params(AVCodecContext *stream, int *au_byterate, int
*au_ssize = 1;
*au_scale = 1;
*au_byterate = stream->bit_rate / 8;
- case CODEC_ID_MP3LAME:
+ case CODEC_ID_MP3:
*au_ssize = 1;
*au_scale = 1;
*au_byterate = stream->bit_rate / 8;
@@ -570,7 +570,7 @@ static int avi_write_idx1(AVFormatContext *s)
if (nb_frames < stream->frame_number)
nb_frames = stream->frame_number;
} else {
- if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3LAME) {
+ if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3) {
put_le32(pb, stream->frame_number);
nb_frames += stream->frame_number;
} else {
@@ -675,7 +675,7 @@ static int avi_write_trailer(AVFormatContext *s)
if (nb_frames < stream->frame_number)
nb_frames = stream->frame_number;
} else {
- if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3LAME) {
+ if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3) {
nb_frames += stream->frame_number;
}
}