Ticket #832: g3fax1d.diff

File g3fax1d.diff, 689 bytes (added by ami_stuff, 5 years ago)
  • libavcodec/faxcompr.c

    diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
    index c157b98..0a6ea59 100644
    a b int ff_ccitt_unpack(AVCodecContext *avctx, 
    296296            } 
    297297        }else{ 
    298298            int g3d1 = (compr == TIFF_G3) && !(opts & 1); 
    299             if(compr!=TIFF_CCITT_RLE && find_group3_syncmarker(&gb, srcsize*8) < 0) 
    300                 break; 
     299//            if(compr!=TIFF_CCITT_RLE && find_group3_syncmarker(&gb, srcsize*8) < 0) 
     300//                break; 
    301301            if(compr==TIFF_CCITT_RLE || g3d1 || get_bits1(&gb)) 
    302302                ret = decode_group3_1d_line(avctx, &gb, avctx->width, runs, runend); 
    303303            else