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:
@@ -573,7 +573,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
|
|||||||
bit_alloc(s, mask, psd, bap, frame_bits, coarse_snr_offset, 0) < 0)
|
bit_alloc(s, mask, psd, bap, frame_bits, coarse_snr_offset, 0) < 0)
|
||||||
coarse_snr_offset -= SNR_INC1;
|
coarse_snr_offset -= SNR_INC1;
|
||||||
if (coarse_snr_offset < 0) {
|
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;
|
return -1;
|
||||||
}
|
}
|
||||||
while ((coarse_snr_offset + SNR_INC1) <= 63 &&
|
while ((coarse_snr_offset + SNR_INC1) <= 63 &&
|
||||||
|
Reference in New Issue
Block a user