[FFmpeg-cvslog] apedec: correct an error message

Justin Ruggles git at videolan.org
Sat Oct 29 02:31:37 CEST 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Tue Oct 11 11:54:42 2011 -0400| [c6defb41ef78909e25cf7940ae1542775099f995] | committer: Justin Ruggles

apedec: correct an error message

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6defb41ef78909e25cf7940ae1542775099f995
---

 libavcodec/apedec.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c
index b0d19cd..9a15bfb 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;
     }
 



More information about the ffmpeg-cvslog mailing list