diff options
author | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
---|---|---|
committer | Stefan Gehrer <stefan.gehrer@gmx.de> | 2008-06-24 20:01:31 +0000 |
commit | cf2baeb3382283d41eac7886ea831f52262971ba (patch) | |
tree | 986724da3ac8630b2903b8edc7a89498e2baf854 /libavcodec/ratecontrol.c | |
parent | 73cc419b271ac5af8c1aed36b5c0167c7016127a (diff) | |
download | ffmpeg-cf2baeb3382283d41eac7886ea831f52262971ba.tar.gz |
mark read-only data as const
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 67301f403d..d3bee6a457 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -67,7 +67,7 @@ int ff_rate_control_init(MpegEncContext *s) RateControlContext *rcc= &s->rc_context; int i; const char *error = NULL; - static const char *const_names[]={ + static const char * const const_names[]={ "PI", "E", "iTex", @@ -99,7 +99,7 @@ int ff_rate_control_init(MpegEncContext *s) (void *)qp2bits, NULL }; - static const char *func1_names[]={ + static const char * const func1_names[]={ "bits2qp", "qp2bits", NULL |