From 1345f4ed6ce47a89b4200a7d865d6a19e99454da Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 1 Nov 2006 21:28:36 +0000 Subject: Rename SWAP macro to FFSWAP. Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavcodec/mpegvideo.c') diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 576a6b8acc..9bfb66b04c 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1705,8 +1705,8 @@ static void draw_line(uint8_t *buf, int sx, int sy, int ex, int ey, int w, int h 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 @@ static void draw_line(uint8_t *buf, int sx, int sy, int ex, int ey, int w, int h } }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; -- cgit v1.2.3