Commit 984544c8 authored by banan's avatar banan

Use a more descriptive error message.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8471e6f6
...@@ -739,7 +739,7 @@ static int compute_bit_allocation(AC3EncodeContext *s, ...@@ -739,7 +739,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
bit_alloc(s, bap, encoded_exp, exp_strategy, frame_bits, csnroffst, 0) < 0) bit_alloc(s, bap, encoded_exp, exp_strategy, frame_bits, csnroffst, 0) < 0)
csnroffst -= SNR_INC1; csnroffst -= SNR_INC1;
if (csnroffst < 0) { 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; return -1;
} }
while ((csnroffst + SNR_INC1) <= 63 && while ((csnroffst + SNR_INC1) <= 63 &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment