comparison msmpeg4.c @ 4001:34fdffe98bd0 libavcodec

Rename ABS macro to FFABS.
author diego
date Wed, 11 Oct 2006 23:17:58 +0000
parents c8c591fe26f8
children 7a08ccdc8550
comparison
equal deleted inserted replaced
4000:eeab02251056 4001:34fdffe98bd0
1714 if(sign) level= -level; 1714 if(sign) level= -level;
1715 } 1715 }
1716 //printf("level: %d, run: %d at %d %d\n", level, run, s->mb_x, s->mb_y); 1716 //printf("level: %d, run: %d at %d %d\n", level, run, s->mb_x, s->mb_y);
1717 #if 0 // waste of time / this will detect very few errors 1717 #if 0 // waste of time / this will detect very few errors
1718 { 1718 {
1719 const int abs_level= ABS(level); 1719 const int abs_level= FFABS(level);
1720 const int run1= run - rl->max_run[last][abs_level] - run_diff; 1720 const int run1= run - rl->max_run[last][abs_level] - run_diff;
1721 if(abs_level<=MAX_LEVEL && run<=MAX_RUN){ 1721 if(abs_level<=MAX_LEVEL && run<=MAX_RUN){
1722 if(abs_level <= rl->max_level[last][run]){ 1722 if(abs_level <= rl->max_level[last][run]){
1723 av_log(s->avctx, AV_LOG_ERROR, "illegal 3. esc, vlc encoding possible\n"); 1723 av_log(s->avctx, AV_LOG_ERROR, "illegal 3. esc, vlc encoding possible\n");
1724 return DECODING_AC_LOST; 1724 return DECODING_AC_LOST;