summaryrefslogtreecommitdiff
path: root/libavcodec/libmp3lame.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-16 22:27:46 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-20 12:32:30 -0500
commite3d2c89e9d5f3cdfda3258526db1f441f0459a4c (patch)
tree953c6a0510e29838bb0fda39764be8a61e302427 /libavcodec/libmp3lame.c
parentbf909fc456156d66f522930b636fa0226ddcae7b (diff)
libmp3lame: cosmetics: remove some pointless comments
Diffstat (limited to 'libavcodec/libmp3lame.c')
-rw-r--r--libavcodec/libmp3lame.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c
index 2b8c1456b9..1e0beb58eb 100644
--- a/libavcodec/libmp3lame.c
+++ b/libavcodec/libmp3lame.c
@@ -181,7 +181,6 @@ static int MP3lame_encode_frame(AVCodecContext *avctx, unsigned char *frame,
if (lame_result < 0) {
if (lame_result == -1) {
- /* output buffer too small */
av_log(avctx, AV_LOG_ERROR,
"lame: output buffer too small (buffer index: %d, free bytes: %d)\n",
s->buffer_index, BUFFER_SIZE - s->buffer_index);
@@ -202,7 +201,6 @@ static int MP3lame_encode_frame(AVCodecContext *avctx, unsigned char *frame,
s->buffer_index -= len;
memmove(s->buffer, s->buffer + len, s->buffer_index);
- // FIXME fix the audio codec API, so we do not need the memcpy()
return len;
} else
return 0;