diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2006-01-21 02:33:01 +0000 |
---|---|---|
committer | Loren Merritt <lorenm@u.washington.edu> | 2006-01-21 02:33:01 +0000 |
commit | 3de79d0dca959236c1b232d421cb8442a18784cc (patch) | |
tree | 42b65c679d182c8d3573eae9de119c2c49ffa413 /libavcodec/snow.c | |
parent | 88141c9192549eb8adc492528568db4c45cb1f55 (diff) | |
download | ffmpeg-3de79d0dca959236c1b232d421cb8442a18784cc.tar.gz |
revert 1.83 because it's not needed
Originally committed as revision 4875 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r-- | libavcodec/snow.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 88fb49a10e..4a96f3e0d2 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -25,8 +25,6 @@ #include "mpegvideo.h" -#include <zlib.h> - #undef NDEBUG #include <assert.h> @@ -3303,8 +3301,6 @@ static void iterative_me(SnowContext *s){ const int b_height= s->b_height << s->block_max_depth; const int b_stride= b_width; int color[3]; - const int first_crc_pass= 12; - uint32_t crcs[50]; for(pass=0; pass<50; pass++){ int change= 0; @@ -3439,18 +3435,6 @@ static void iterative_me(SnowContext *s){ } } av_log(NULL, AV_LOG_ERROR, "pass:%d changed:%d\n", pass, change); - - if(pass >= first_crc_pass){ - int i; - //FIXME can we hash just the blocks that were analysed? - crcs[pass]= crc32(crc32(0,NULL,0), (void*)s->block, b_stride*b_height*sizeof(BlockNode)); - for(i=pass-1; i>=first_crc_pass; i--){ - if(crcs[i] == crcs[pass]){ - change= 0; - break; - } - } - } if(!change) break; } |