Ticket #1999: fax.diff

File fax.diff, 397 bytes (added by ami_stuff, 4 years ago)
  • libavcodec/faxcompr.c

    diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
    index e7f9d00..bfad0ef 100644
    a b int ff_ccitt_unpack(AVCodecContext *avctx, 
    277277    GetBitContext gb; 
    278278    int *runs, *ref = NULL, *runend; 
    279279    int ret; 
    280     int runsize= avctx->width + 2; 
     280    int runsize= 2 * avctx->width + 2; 
    281281    int err = 0; 
    282282    int has_eol; 
    283283