aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2008-10-02 15:52:04 +0000
commit9b5ede5b64a81195ed922ce92c7f4e7b185be697 (patch)
tree22421f60e5e1fda0e2c6a4261e971349fb9e4f6d /libavcodec/ratecontrol.c
parent6dbfb7de82552062bb892e9f775f83a3e7072af4 (diff)
downloadffmpeg-9b5ede5b64a81195ed922ce92c7f4e7b185be697.tar.gz
Add (additional) const to many global tables.
Originally committed as revision 15515 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index e8d1ae8899..8e248b9083 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -94,7 +94,7 @@ int ff_rate_control_init(MpegEncContext *s)
"avgTex",
NULL
};
- static double (*func1[])(void *, double)={
+ static double (* const func1[])(void *, double)={
(void *)bits2qp,
(void *)qp2bits,
NULL