Originally committed as revision 10973 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 2916025765
commit de12b9be6c
  1. 3
      libavcodec/intrax8dsp.c

@ -126,8 +126,7 @@ static void x8_setup_spacial_compensation(uint8_t *src, uint8_t *dst, int linesi
} }
sum+=avg*9; sum+=avg*9;
}else{ }else{
uint8_t c; uint8_t c=*(src-1-linesize);//the edge pixel,in the top line and left column
c=*(src-1-linesize);//the edge pixel,in the top line and left column
dst[area3]=c; dst[area3]=c;
sum+=c; sum+=c;
//edge pixel is not part of min/max //edge pixel is not part of min/max

Loading…
Cancel
Save