projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf909fc
)
libmp3lame: cosmetics: remove some pointless comments
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 17 Feb 2012 03:27:46 +0000
(22:27 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 20 Feb 2012 17:32:30 +0000
(12:32 -0500)
libavcodec/libmp3lame.c
patch
|
blob
|
history
diff --git
a/libavcodec/libmp3lame.c
b/libavcodec/libmp3lame.c
index
2b8c145
..
1e0beb5
100644
(file)
--- 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;