OSDN Git Service

removed warnings
authorFabrice Bellard <fabrice@bellard.org>
Mon, 14 Oct 2002 18:25:58 +0000 (18:25 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Mon, 14 Oct 2002 18:25:58 +0000 (18:25 +0000)
Originally committed as revision 1038 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ratecontrol.c

index d837ab5..99e46db 100644 (file)
@@ -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[]={