From 5b6638517f61a802359bc6d8c2605a2277c73810 Mon Sep 17 00:00:00 2001 From: Benjamin Larsson Date: Sun, 26 Mar 2006 17:07:02 +0000 Subject: [PATCH] Use a more descriptive error message. Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 508439480a..39e0777d63 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -739,7 +739,7 @@ static int compute_bit_allocation(AC3EncodeContext *s, bit_alloc(s, bap, encoded_exp, exp_strategy, frame_bits, csnroffst, 0) < 0) csnroffst -= SNR_INC1; if (csnroffst < 0) { - av_log(NULL, AV_LOG_ERROR, "Yack, Error !!!\n"); + av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384 for example!\n"); return -1; } while ((csnroffst + SNR_INC1) <= 63 && -- 2.20.1