]> git.pld-linux.org Git - packages/mplayer.git/commitdiff
- MAX macro renamed to FFMAX
authorsparky <sparky@pld-linux.org>
Wed, 18 Nov 2009 22:19:08 +0000 (22:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mplayer-auto-expand.patch -> 1.2

mplayer-auto-expand.patch

index 89b5e14acfa8f120c7dfc15323afaf04b4d48b5b..6ecccfd9370161788c9a97732aefb5e7efb15656 100644 (file)
@@ -6,14 +6,14 @@ diff -urN MPlayer-1.0pre8.orig/libmpcodecs/vf_expand.c MPlayer-1.0pre8/libmpcode
  #else
      if ( vf->priv->exp_w == -1 ) vf->priv->exp_w=width;
 -      else if (vf->priv->exp_w < -1 ) vf->priv->exp_w=width - vf->priv->exp_w;
-+    else if ( vf->priv->exp_w == -2 ) vf->priv->exp_w=MAX(width, height*4.0/3);
-+    else if ( vf->priv->exp_w == -3 ) vf->priv->exp_w=MAX(width, height*16.0/9);
++    else if ( vf->priv->exp_w == -2 ) vf->priv->exp_w=FFMAX(width, height*4.0/3);
++    else if ( vf->priv->exp_w == -3 ) vf->priv->exp_w=FFMAX(width, height*16.0/9);
 +      else if (vf->priv->exp_w < -3 ) vf->priv->exp_w=width - vf->priv->exp_w;
          else if ( vf->priv->exp_w<width ) vf->priv->exp_w=width;
      if ( vf->priv->exp_h == -1 ) vf->priv->exp_h=height;
 -      else if ( vf->priv->exp_h < -1 ) vf->priv->exp_h=height - vf->priv->exp_h;
-+    else if ( vf->priv->exp_h == -2 ) vf->priv->exp_h=MAX(height, width*3.0/4);
-+    else if ( vf->priv->exp_h == -3 ) vf->priv->exp_h=MAX(height, width*9.0/16);
++    else if ( vf->priv->exp_h == -2 ) vf->priv->exp_h=FFMAX(height, width*3.0/4);
++    else if ( vf->priv->exp_h == -3 ) vf->priv->exp_h=FFMAX(height, width*9.0/16);
 +      else if ( vf->priv->exp_h < -3 ) vf->priv->exp_h=height - vf->priv->exp_h;
          else if( vf->priv->exp_h<height ) vf->priv->exp_h=height;
  #endif
This page took 0.25334 seconds and 4 git commands to generate.