changeset 8347:81238f0bea66 libavcodec

Fix warning "format not a string literal and no format arguments".
author benoit
date Tue, 16 Dec 2008 07:56:33 +0000
parents 899a12113af5
children 64ab53a5aef4
files libamr.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libamr.c	Tue Dec 16 00:47:59 2008 +0000
+++ b/libamr.c	Tue Dec 16 07:56:33 2008 +0000
@@ -81,9 +81,9 @@
 #include <amrnb/interf_enc.h>
 #endif
 
-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*/