Revision 48026fbe libavcodec/rawdec.c

View differences:

libavcodec/rawdec.c
109 109

  
110 110
    //4bpp raw in avi and mov (yes this is ugly ...)
111 111
    if(avctx->bits_per_sample == 4 && avctx->pix_fmt==PIX_FMT_PAL8 &&
112
       !avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' ')){
112
       (!avctx->codec_tag || avctx->codec_tag == MKTAG('r','a','w',' '))){
113 113
        int i;
114 114
        for(i=256*2; i+1 < context->length>>1; i++){
115 115
            context->buffer[2*i+0]= buf[i-256*2]>>4;

Also available in: Unified diff