projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98ba1cf
)
cosmetic (prevent name clashes of variables in a macro with surrounding code)
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Dec 2006 09:46:52 +0000
(09:46 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 1 Dec 2006 09:46:52 +0000
(09:46 +0000)
Originally committed as revision 7191 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/motion_est_template.c
patch
|
blob
|
history
diff --git
a/libavcodec/motion_est_template.c
b/libavcodec/motion_est_template.c
index
837d49a
..
47da2dc
100644
(file)
--- a/
libavcodec/motion_est_template.c
+++ b/
libavcodec/motion_est_template.c
@@
-517,11
+517,11
@@
static int qpel_motion_search(MpegEncContext * s,
#define CHECK_CLIPED_MV(ax,ay)\
{\
- const int x= ax;\
- const int y= ay;\
- const int
x2= FFMAX(xmin, FFMIN(
x, xmax));\
- const int
y2= FFMAX(ymin, FFMIN(
y, ymax));\
- CHECK_MV(
x2,
y2)\
+ const int
L
x= ax;\
+ const int
L
y= ay;\
+ const int
Lx2= FFMAX(xmin, FFMIN(L
x, xmax));\
+ const int
Ly2= FFMAX(ymin, FFMIN(L
y, ymax));\
+ CHECK_MV(
Lx2, L
y2)\
}
#define CHECK_MV_DIR(x,y,new_dir)\