summaryrefslogtreecommitdiff
path: root/libavcodec/apedec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-11 11:54:42 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-10-28 11:47:27 -0400
commitc6defb41ef78909e25cf7940ae1542775099f995 (patch)
tree20e1251defa4bb33e9140a496e87b141dbb52438 /libavcodec/apedec.c
parentda55e0980ec1851b81ffff3e9dfaf20e295459af (diff)
apedec: correct an error message
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r--libavcodec/apedec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index b0d19cdf1d..9a15bfb872 100644
--- 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;
}