Commit de39d62c authored by D Richard Felker III's avatar D Richard Felker III

sync message with modern ffmpeg bitrate option syntax.

note: this message should probably be tweaked; i'm not sure that it's
a good idea for lavc to be recommending ffmpeg command line options
as it's a general-purpose library.

Originally committed as revision 11094 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 28e7453c
...@@ -573,7 +573,7 @@ static int compute_bit_allocation(AC3EncodeContext *s, ...@@ -573,7 +573,7 @@ static int compute_bit_allocation(AC3EncodeContext *s,
bit_alloc(s, mask, psd, bap, frame_bits, csnroffst, 0) < 0) bit_alloc(s, mask, psd, bap, frame_bits, csnroffst, 0) < 0)
csnroffst -= SNR_INC1; csnroffst -= SNR_INC1;
if (csnroffst < 0) { if (csnroffst < 0) {
av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384 for example!\n"); av_log(NULL, AV_LOG_ERROR, "Bit allocation failed, try increasing the bitrate, -ab 384k 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