Revision 13b54752 libavcodec/jrevdct.c

View differences:

libavcodec/jrevdct.c
197 197

  
198 198
    register int *idataptr = (int*)dataptr;
199 199

  
200
    /* WARNING: we do the same permutation as MMX idct to simplify the
201
       video core */
200 202
    d0 = dataptr[0];
201
    d1 = dataptr[1];
202
    d2 = dataptr[2];
203
    d3 = dataptr[3];
204
    d4 = dataptr[4];
205
    d5 = dataptr[5];
206
    d6 = dataptr[6];
203
    d2 = dataptr[1];
204
    d4 = dataptr[2];
205
    d6 = dataptr[3];
206
    d1 = dataptr[4];
207
    d3 = dataptr[5];
208
    d5 = dataptr[6];
207 209
    d7 = dataptr[7];
208 210

  
209
    if ((d1 == 0) && (idataptr[1] | idataptr[2] | idataptr[3]) == 0) {
211
    if ((d1 | d2 | d3 | d4 | d5 | d6 | d7) == 0) {
210 212
      /* AC terms all zero */
211 213
      if (d0) {
212 214
	  /* Compute a 32 bit value to assign. */

Also available in: Unified diff