# HG changeset patch # User banan # Date 1143392822 0 # Node ID ed485fd3f984a90f4c2f86980f5074f09a7414fe # Parent a931984ec6ab377200bcac2528566f44ffc15de1 Use a more descriptive error message. diff -r a931984ec6ab -r ed485fd3f984 ac3enc.c --- 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 &&