Missing const
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 19 Feb 2008 21:37:53 +0000 (21:37 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 19 Feb 2008 21:37:53 +0000 (21:37 +0000)
Originally committed as revision 12147 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ratecontrol.c

index 97438f6..d289a19 100644 (file)
@@ -66,7 +66,7 @@ int ff_rate_control_init(MpegEncContext *s)
 {
     RateControlContext *rcc= &s->rc_context;
     int i;
-    char *error = NULL;
+    const char *error = NULL;
     static const char *const_names[]={
         "PI",
         "E",