diff mpegvideo.c @ 4120:8fe20344c9b5 libavcodec

Rename SWAP macro to FFSWAP.
author diego
date Wed, 01 Nov 2006 21:28:36 +0000
parents bfc1532904eb
children fb40acd09af3
line wrap: on
line diff
--- a/mpegvideo.c	Wed Nov 01 21:09:14 2006 +0000
+++ b/mpegvideo.c	Wed Nov 01 21:28:36 2006 +0000
@@ -1705,8 +1705,8 @@
 
     if(FFABS(ex - sx) > FFABS(ey - sy)){
         if(sx > ex){
-            SWAP(int, sx, ex);
-            SWAP(int, sy, ey);
+            FFSWAP(int, sx, ex);
+            FFSWAP(int, sy, ey);
         }
         buf+= sx + sy*stride;
         ex-= sx;
@@ -1719,8 +1719,8 @@
         }
     }else{
         if(sy > ey){
-            SWAP(int, sx, ex);
-            SWAP(int, sy, ey);
+            FFSWAP(int, sx, ex);
+            FFSWAP(int, sy, ey);
         }
         buf+= sx + sy*stride;
         ey-= sy;