Commit 9d36bdc9 authored by Juanjo's avatar Juanjo

- Added MP3 encoding through libmp3lame contributed by Lennert Buytenhek.

Originally committed as revision 326 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0716b577
...@@ -9,6 +9,7 @@ enum CodecID { ...@@ -9,6 +9,7 @@ enum CodecID {
CODEC_ID_H263, CODEC_ID_H263,
CODEC_ID_RV10, CODEC_ID_RV10,
CODEC_ID_MP2, CODEC_ID_MP2,
CODEC_ID_MP3LAME,
CODEC_ID_AC3, CODEC_ID_AC3,
CODEC_ID_MJPEG, CODEC_ID_MJPEG,
CODEC_ID_MPEG4, CODEC_ID_MPEG4,
...@@ -160,6 +161,7 @@ typedef struct AVPicture { ...@@ -160,6 +161,7 @@ typedef struct AVPicture {
extern AVCodec ac3_encoder; extern AVCodec ac3_encoder;
extern AVCodec mp2_encoder; extern AVCodec mp2_encoder;
extern AVCodec mp3lame_encoder;
extern AVCodec mpeg1video_encoder; extern AVCodec mpeg1video_encoder;
extern AVCodec h263_encoder; extern AVCodec h263_encoder;
extern AVCodec h263p_encoder; extern AVCodec h263p_encoder;
......
...@@ -394,6 +394,9 @@ void avcodec_register_all(void) ...@@ -394,6 +394,9 @@ void avcodec_register_all(void)
#ifdef CONFIG_ENCODERS #ifdef CONFIG_ENCODERS
register_avcodec(&ac3_encoder); register_avcodec(&ac3_encoder);
register_avcodec(&mp2_encoder); register_avcodec(&mp2_encoder);
#ifdef CONFIG_MP3LAME
register_avcodec(&mp3lame_encoder);
#endif
register_avcodec(&mpeg1video_encoder); register_avcodec(&mpeg1video_encoder);
register_avcodec(&h263_encoder); register_avcodec(&h263_encoder);
register_avcodec(&h263p_encoder); register_avcodec(&h263p_encoder);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment