ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanaga...@gmail.com> | Tue Nov 10 22:26:25 2015 -0500| [f1726ad1b0d0345cc9dbae917c3141f703b19050] | committer: Ganesh Ajjanagadde
avcodec/ratecontrol: use predefined M_E M_E is defined in math.h, or in avutil/mathematics.h for compatibility hacks. This uses this value instead of an ad-hoc define. Reviewed-by: Michael Niedermayer <mich...@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f1726ad1b0d0345cc9dbae917c3141f703b19050 --- libavcodec/ratecontrol.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 308e34e..e96550c 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -35,10 +35,6 @@ #include "mpegvideo.h" #include "libavutil/eval.h" -#ifndef M_E -#define M_E 2.718281828 -#endif - static int init_pass2(MpegEncContext *s); static double get_qscale(MpegEncContext *s, RateControlEntry *rce, double rate_factor, int frame_num); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog