[FFmpeg-cvslog] r16164 - trunk/libavcodec/libamr.c

benoit subversion
Tue Dec 16 08:56:34 CET 2008

Author: benoit
Date: Tue Dec 16 08:56:33 2008
New Revision: 16164

Fix warning "format not a string literal and no format arguments".


Modified: trunk/libavcodec/libamr.c
--- trunk/libavcodec/libamr.c	(original)
+++ trunk/libavcodec/libamr.c	Tue Dec 16 08:56:33 2008
@@ -81,9 +81,9 @@
 #include <amrnb/interf_enc.h>
-static const char *nb_bitrate_unsupported =
+static const char nb_bitrate_unsupported[] =
     "bitrate not supported: use one of 4.75k, 5.15k, 5.9k, 6.7k, 7.4k, 7.95k, 10.2k or 12.2k\n";
-static const char *wb_bitrate_unsupported =
+static const char wb_bitrate_unsupported[] =
     "bitrate not supported: use one of 6.6k, 8.85k, 12.65k, 14.25k, 15.85k, 18.25k, 19.85k, 23.05k, or 23.85k\n";
 /* Common code for fixed and float version*/

More information about the ffmpeg-cvslog mailing list