summaryrefslogtreecommitdiff
path: root/libavcodec/ratecontrol.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-10-14 18:25:58 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-10-14 18:25:58 +0000
commitec6a3752483a20ede57afb2f59eea97a3a4c09c2 (patch)
treea13845e008e8597624e3f22adaa6ca11b83da4cc /libavcodec/ratecontrol.c
parent4f891f53b3d93e2e145a4e05a0bb1742af3b72ac (diff)
removed warnings
Originally committed as revision 1038 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r--libavcodec/ratecontrol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index d837ab5f73..99e46dbad2 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -284,8 +284,8 @@ static double get_qscale(MpegEncContext *s, RateControlEntry *rce, double rate_f
NULL
};
static double (*func1[])(void *, double)={
- bits2qp,
- qp2bits,
+ (void *)bits2qp,
+ (void *)qp2bits,
NULL
};
char *func1_names[]={