Browse Source

Do not give advice for which bitrate to choose.

Originally committed as revision 11334 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Justin Ruggles 18 years ago
parent
commit
c135b520e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3enc.c

+ 1
- 1
libavcodec/ac3enc.c View File

@@ -573,7 +573,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
bit_alloc(s, mask, psd, bap, frame_bits, coarse_snr_offset, 0) < 0)
coarse_snr_offset -= SNR_INC1;
if (coarse_snr_offset < 0) {
av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384k for example!\n");
av_log(NULL, AV_LOG_ERROR, "Bit allocation failed. Try increasing the bitrate.\n");
return -1;
}
while ((coarse_snr_offset + SNR_INC1) <= 63 &&


Loading…
Cancel
Save