changeset 3221:ed485fd3f984 libavcodec

Use a more descriptive error message.
author banan
date Sun, 26 Mar 2006 17:07:02 +0000
parents a931984ec6ab
children 38ee2f1d386d
files ac3enc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ac3enc.c	Sat Mar 25 15:37:08 2006 +0000
+++ b/ac3enc.c	Sun Mar 26 17:07:02 2006 +0000
@@ -739,7 +739,7 @@
            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 &&