diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2006-03-26 17:07:02 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2006-03-26 17:07:02 +0000 |
commit | 5b6638517f61a802359bc6d8c2605a2277c73810 (patch) | |
tree | f72d9a798ca52947529a239b540e64440778136d /libavcodec/ac3enc.c | |
parent | 3ed73c46ca80a62edc0f74ed60aff08d1b6f5766 (diff) | |
download | ffmpeg-streaming-5b6638517f61a802359bc6d8c2605a2277c73810.zip ffmpeg-streaming-5b6638517f61a802359bc6d8c2605a2277c73810.tar.gz |
Use a more descriptive error message.
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 5084394..39e0777 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 && |