projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed73c4
)
Use a more descriptive error message.
author
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 26 Mar 2006 17:07:02 +0000
(17:07 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Sun, 26 Mar 2006 17:07:02 +0000
(17:07 +0000)
Originally committed as revision 5224 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
5084394
..
39e0777
100644
(file)
--- a/
libavcodec/ac3enc.c
+++ b/
libavcodec/ac3enc.c
@@
-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 &&