Originally committed as revision 10985 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 3358e879d2
commit cb0d8a5f8f
  1. 2
      libavcodec/intrax8.c

@ -380,7 +380,7 @@ static void x8_get_prediction(IntraX8Context * const w){
c= w->prediction_table[2*s->mb_x-2 + !(s->mb_y&1) ];//block[x-1][y-1] c= w->prediction_table[2*s->mb_x-2 + !(s->mb_y&1) ];//block[x-1][y-1]
w->est_run = FFMIN(b,a); w->est_run = FFMIN(b,a);
/*this condition have nothing to do with w->edges, even if it looks similar /*this condition has nothing to do with w->edges, even if it looks similar
it would triger if e.g. x=3;y=2; it would triger if e.g. x=3;y=2;
I guess somebody wrote something wrong and it became standard */ I guess somebody wrote something wrong and it became standard */
if( (s->mb_x & s->mb_y) != 0 ) w->est_run=FFMIN(c,w->est_run); if( (s->mb_x & s->mb_y) != 0 ) w->est_run=FFMIN(c,w->est_run);

Loading…
Cancel
Save