Do not give advice for which bitrate to choose.

Originally committed as revision 11334 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Justin Ruggles 2007-12-28 03:12:24 +00:00
parent 678a7179b6
commit c135b520e7

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