Mercurial > libavcodec.hg
changeset 260:e1bacfb3f51f libavcodec
- Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.
author | pulento |
---|---|
date | Sun, 10 Mar 2002 14:58:53 +0000 |
parents | cc6292eacba6 |
children | d6521bbbab5e |
files | avcodec.h utils.c |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Sun Mar 10 14:52:00 2002 +0000 +++ b/avcodec.h Sun Mar 10 14:58:53 2002 +0000 @@ -9,6 +9,7 @@ CODEC_ID_H263, CODEC_ID_RV10, CODEC_ID_MP2, + CODEC_ID_MP3LAME, CODEC_ID_AC3, CODEC_ID_MJPEG, CODEC_ID_MPEG4, @@ -160,6 +161,7 @@ extern AVCodec ac3_encoder; extern AVCodec mp2_encoder; +extern AVCodec mp3lame_encoder; extern AVCodec mpeg1video_encoder; extern AVCodec h263_encoder; extern AVCodec h263p_encoder;
--- a/utils.c Sun Mar 10 14:52:00 2002 +0000 +++ b/utils.c Sun Mar 10 14:58:53 2002 +0000 @@ -394,6 +394,9 @@ #ifdef CONFIG_ENCODERS register_avcodec(&ac3_encoder); register_avcodec(&mp2_encoder); +#ifdef CONFIG_MP3LAME + register_avcodec(&mp3lame_encoder); +#endif register_avcodec(&mpeg1video_encoder); register_avcodec(&h263_encoder); register_avcodec(&h263p_encoder);