Revision e7774f11

View differences:

libavcodec/h263.c
1447 1447
        if (s->pict_type != I_TYPE &&
1448 1448
            s->pict_type != P_TYPE)
1449 1449
            return -1;
1450
        skip_bits(&s->gb, 7);
1450
        skip_bits(&s->gb, 2);
1451
        s->no_rounding = get_bits1(&s->gb);
1452
        //fprintf(stderr, "\nRTYPE: %d", s->no_rounding);
1453
        skip_bits(&s->gb, 4);
1451 1454
        
1452 1455
        /* Get the picture dimensions */
1453 1456
        if (ufep) {
libavcodec/i386/mpegvideo_mmx.c
95 95
            else
96 96
                block[0] = block[0] * s->c_dc_scale;
97 97
        }
98
	    for(i=1; i<8; i++) {
99
		    level = block[i];
100
		    if (level) {
101
			    if (level < 0) {
102
				    level = level * qmul - qadd;
103
			    } else {
104
				    level = level * qmul + qadd;
105
			    }
106
			    block[i] = level;
107
		    }
108
	    }
98
        for(i=1; i<8; i++) {
99
    	    level = block[i];
100
	        if (level) {
101
		        if (level < 0) {
102
			        level = level * qmul - qadd;
103
		        } else {
104
			        level = level * qmul + qadd;
105
		        }
106
		        block[i] = level;
107
            }
108
        }
109 109
        nCoeffs=64;
110 110
    } else {
111 111
        i = 0;

Also available in: Unified diff