[FFmpeg-cvslog] flvdec: remove incomplete, disabled seeking code

Diego Biurrun git at videolan.org
Tue Jun 19 21:13:53 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 29 12:02:54 2011 +0200| [4cc2920dd2c0ce4e64e709da4f78508e1ec9871e] | committer: Diego Biurrun

flvdec: remove incomplete, disabled seeking code

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4cc2920dd2c0ce4e64e709da4f78508e1ec9871e
---

 libavcodec/ratecontrol.c |   12 ------------
 1 file changed, 12 deletions(-)

diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c
index 5e4b49a..9065f8e 100644
--- a/libavcodec/ratecontrol.c
+++ b/libavcodec/ratecontrol.c
@@ -508,14 +508,6 @@ static double predict_size(Predictor *p, double q, double var)
      return p->coeff*var / (q*p->count);
 }
 
-/*
-static double predict_qp(Predictor *p, double size, double var)
-{
-//printf("coeff:%f, count:%f, var:%f, size:%f//\n", p->coeff, p->count, var, size);
-     return p->coeff*var / (size*p->count);
-}
-*/
-
 static void update_predictor(Predictor *p, double q, double var, double size)
 {
     double new_coeff= size*q / (var + 1);
@@ -555,10 +547,6 @@ static void adaptive_quantization(MpegEncContext *s, double q){
         int mb_y = mb_xy / s->mb_stride;
         int mb_distance;
         float mb_factor = 0.0;
-#if 0
-        if(spat_cplx < q/3) spat_cplx= q/3; //FIXME finetune
-        if(temp_cplx < q/3) temp_cplx= q/3; //FIXME finetune
-#endif
         if(spat_cplx < 4) spat_cplx= 4; //FIXME finetune
         if(temp_cplx < 4) temp_cplx= 4; //FIXME finetune
 



More information about the ffmpeg-cvslog mailing list