[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec ac3enc.c,1.28,1.29

Benjamin Larsson CVS banan
Sun Mar 26 19:07:04 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv29350/libavcodec

Modified Files:
	ac3enc.c 
Log Message:
Use a more descriptive error message.


Index: ac3enc.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/ac3enc.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- ac3enc.c	6 Mar 2006 14:53:13 -0000	1.28
+++ ac3enc.c	26 Mar 2006 17:07:02 -0000	1.29
@@ -739,7 +739,7 @@
            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 &&





More information about the ffmpeg-cvslog mailing list