OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da55e09
)
apedec: correct an error message
author
Justin Ruggles
<justin.ruggles@gmail.com>
Tue, 11 Oct 2011 15:54:42 +0000
(11:54 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 28 Oct 2011 15:47:27 +0000
(11:47 -0400)
libavcodec/apedec.c
patch
|
blob
|
history
diff --git
a/libavcodec/apedec.c
b/libavcodec/apedec.c
index
b0d19cd
..
9a15bfb
100644
(file)
--- a/
libavcodec/apedec.c
+++ b/
libavcodec/apedec.c
@@
-819,9
+819,7
@@
static int ape_decode_frame(AVCodecContext *avctx,
/* should not happen but who knows */
if (BLOCKS_PER_LOOP * 2 * avctx->channels > *data_size) {
- av_log (avctx, AV_LOG_ERROR, "Packet size is too big to be handled "
- "in lavc! (max is %d where you have %d)\n",
- *data_size, s->samples * 2 * avctx->channels);
+ av_log (avctx, AV_LOG_ERROR, "Output buffer is too small.\n");
return -1;
}