summaryrefslogtreecommitdiff
path: root/libavcodec/motion_est_template.c
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2004-07-05 02:21:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-05 02:21:38 +0000
commit4994af2fbd81eea61a797a0e77c3a69a641d7582 (patch)
tree66ee8b398a01d9e1b2eb66881fcf8ad5debd1b6b /libavcodec/motion_est_template.c
parentc43042a7d4b2dde0936ded278ce94be436390ba8 (diff)
shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est_template.c')
-rw-r--r--libavcodec/motion_est_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c
index 567f84d2c6..b5ee885730 100644
--- a/libavcodec/motion_est_template.c
+++ b/libavcodec/motion_est_template.c
@@ -677,7 +677,7 @@ if(256*256*256*64 % (stats[0]+1)==0){
}\
}
-#define MAX_SAB_SIZE 16
+#define MAX_SAB_SIZE ME_MAP_SIZE
static int sab_diamond_search(MpegEncContext * s, int *best, int dmin,
int src_index, int ref_index, int const penalty_factor,
int size, int h, int flags)