CODEC_ID_MP3LAME is obsolete

Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard
2003-09-08 22:04:29 +00:00
parent dcedf58672
commit 80783dc2c2
10 changed files with 21 additions and 21 deletions

View File

@@ -870,7 +870,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
asf_st->ds_span = 0; // disable descrambling
}
switch (st->codec.codec_id) {
case CODEC_ID_MP3LAME:
case CODEC_ID_MP3:
st->codec.frame_size = MPA_FRAME_SIZE;
break;
case CODEC_ID_PCM_S16LE:
@@ -1252,7 +1252,7 @@ static AVOutputFormat asf_oformat = {
"asf,wmv",
sizeof(ASFContext),
#ifdef CONFIG_MP3LAME
CODEC_ID_MP3LAME,
CODEC_ID_MP3,
#else
CODEC_ID_MP2,
#endif
@@ -1269,7 +1269,7 @@ static AVOutputFormat asf_stream_oformat = {
"asf,wmv",
sizeof(ASFContext),
#ifdef CONFIG_MP3LAME
CODEC_ID_MP3LAME,
CODEC_ID_MP3,
#else
CODEC_ID_MP2,
#endif