summaryrefslogtreecommitdiff
path: root/libavformat/flvenc.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/flvenc.c
parentdcedf5867207ea21c5e492434e6466d1aac79de3 (diff)
CODEC_ID_MP3LAME is obsolete
Originally committed as revision 2232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/flvenc.c')
-rw-r--r--libavformat/flvenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 72abb657b1..65bdf4b8d5 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -268,7 +268,7 @@ static int flv_write_packet(AVFormatContext *s, int stream_index,
}
else if (enc->codec_type == CODEC_TYPE_AUDIO) {
#ifdef CONFIG_MP3LAME
- if (enc->codec_id == CODEC_ID_MP3LAME ) {
+ if (enc->codec_id == CODEC_ID_MP3 ) {
int c=0;
for (;c<size;c++) {
flv->audioFifo[(flv->audioOutPos+c)%AUDIO_FIFO_SIZE] = buf[c];
@@ -366,7 +366,7 @@ static AVOutputFormat flv_oformat = {
"flv",
sizeof(FLVContext),
#ifdef CONFIG_MP3LAME
- CODEC_ID_MP3LAME,
+ CODEC_ID_MP3,
#else // CONFIG_MP3LAME
CODEC_ID_NONE,
#endif // CONFIG_MP3LAME