On Sun, 19 Feb 2012, Justin Ruggles wrote:

We now require at least libmp3lame 3.98.3.
lame_encode_buffer_interleaved() still doesn't work for mono, but it does not
"die"; it just expects a stereo interleaved buffer.
---
libavcodec/libmp3lame.c |    2 --
1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 0409655..6ce4f64 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -162,8 +162,6 @@ static int MP3lame_encode_frame(AVCodecContext *avctx, 
unsigned char *frame,
    int len;
    int lame_result;

-    /* lame 3.91 dies on '1-channel interleaved' data */
-
    if (data) {
        if (avctx->channels > 1) {
            lame_result = lame_encode_buffer_interleaved(s->gfp, data,
--
1.7.1

Ok

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to