Revision 8da5d3dc libavcodec/tiff.c

View differences:

libavcodec/tiff.c
146 146
                src2[i] = ff_reverse[src[i]];
147 147
        }
148 148
        memset(src2+size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
149
        if(s->compr == TIFF_G3 && !(s->fax_opts & 1))
150
            s->compr = TIFF_CCITT_RLE;
151 149
        switch(s->compr){
152 150
        case TIFF_CCITT_RLE:
153 151
        case TIFF_G3:
154 152
        case TIFF_G4:
155
            ret = ff_ccitt_unpack(s->avctx, src2, size, dst, lines, stride, s->compr);
153
            ret = ff_ccitt_unpack(s->avctx, src2, size, dst, lines, stride, s->compr, s->fax_opts);
156 154
            break;
157 155
        }
158 156
        av_free(src2);

Also available in: Unified diff