Revision 755bfeab libavcodec/msmpeg4.c

View differences:

libavcodec/msmpeg4.c
1006 1006
            /* luminance h263 */
1007 1007
            uni_code= DCtab_lum[size][0];
1008 1008
            uni_len = DCtab_lum[size][1];
1009
            uni_code ^= (1<<uni_len)-1; //M$ doesnt like compatibility
1009
            uni_code ^= (1<<uni_len)-1; //M$ does not like compatibility
1010 1010

  
1011 1011
            if (size > 0) {
1012 1012
                uni_code<<=size; uni_code|=l;
......
1022 1022
            /* chrominance h263 */
1023 1023
            uni_code= DCtab_chrom[size][0];
1024 1024
            uni_len = DCtab_chrom[size][1];
1025
            uni_code ^= (1<<uni_len)-1; //M$ doesnt like compatibility
1025
            uni_code ^= (1<<uni_len)-1; //M$ does not like compatibility
1026 1026

  
1027 1027
            if (size > 0) {
1028 1028
                uni_code<<=size; uni_code|=l;
......
1132 1132
        break;
1133 1133
    }
1134 1134

  
1135
    s->slice_height= s->mb_height; //to avoid 1/0 if the first frame isnt a keyframe
1135
    s->slice_height= s->mb_height; //to avoid 1/0 if the first frame is not a keyframe
1136 1136

  
1137 1137
    return 0;
1138 1138
}

Also available in: Unified diff