Mercurial > libavformat.hg
diff flvenc.c @ 232:eb90c0a5a1ba libavformat
CODEC_ID_MP3LAME is obsolete
author | bellard |
---|---|
date | Mon, 08 Sep 2003 22:04:29 +0000 |
parents | 2271829b6f7e |
children | 3d92f793fd67 |
line wrap: on
line diff
--- a/flvenc.c Mon Sep 08 21:59:53 2003 +0000 +++ b/flvenc.c Mon Sep 08 22:04:29 2003 +0000 @@ -268,7 +268,7 @@ } 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 @@ "flv", sizeof(FLVContext), #ifdef CONFIG_MP3LAME - CODEC_ID_MP3LAME, + CODEC_ID_MP3, #else // CONFIG_MP3LAME CODEC_ID_NONE, #endif // CONFIG_MP3LAME