diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:35:04 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:35:04 +0000 |
commit | 614e17928e8f7b1bdc632fd934499cbfea165d8a (patch) | |
tree | 26887fbf9f785a69ec603c703ecda4650bbec829 /src/libffmpeg/libavcodec/motion_est.c | |
parent | 1b71075127f7fdfad0c16cc8535cd2c2b4e01c3b (diff) | |
download | xine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.gz xine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.bz2 |
Make xine-lib compile with the SunPro compiler
CVS patchset: 3623
CVS date: 2002/12/22 00:35:04
Diffstat (limited to 'src/libffmpeg/libavcodec/motion_est.c')
-rw-r--r-- | src/libffmpeg/libavcodec/motion_est.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/motion_est.c b/src/libffmpeg/libavcodec/motion_est.c index fa6c3ee6b..547f4cdc5 100644 --- a/src/libffmpeg/libavcodec/motion_est.c +++ b/src/libffmpeg/libavcodec/motion_est.c @@ -417,7 +417,7 @@ static inline int snake_search(MpegEncContext * s, int *best, int dmin, static int x_dir[8]= {1,1,0,-1,-1,-1, 0, 1}; static int y_dir[8]= {0,1,1, 1, 0,-1,-1,-1}; int fails=0; - int last_d[2]={dmin, dmin}; + int last_d[2]; /*static int good=0; static int bad=0; @@ -429,6 +429,9 @@ if(256*256*256*64%point==0) printf("%d %d %d\n", good, bad, point); }*/ + last_d[0] = dmin; + last_d[1] = dmin; + for(;;){ int x= best[0]; int y= best[1]; |