Browse Source

Use a more descriptive error message.

Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Benjamin Larsson 19 years ago
parent
commit
5b6638517f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3enc.c

+ 1
- 1
libavcodec/ac3enc.c View File

@@ -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 &&


Loading…
Cancel
Save