diff --git a/libavcodec/faxcompr.c b/libavcodec/faxcompr.c
index 57e92be..9c38714 100644
|
a
|
b
|
int ff_ccitt_unpack(AVCodecContext *avctx, |
| 279 | 279 | int ret; |
| 280 | 280 | int runsize= avctx->width + 2; |
| 281 | 281 | int err = 0; |
| | 282 | int g3_byte; |
| 282 | 283 | int has_eol; |
| 283 | 284 | |
| 284 | 285 | runs = av_malloc(runsize * sizeof(runs[0])); |
| … |
… |
int ff_ccitt_unpack(AVCodecContext *avctx, |
| 291 | 292 | ref[1] = 0; |
| 292 | 293 | ref[2] = 0; |
| 293 | 294 | init_get_bits(&gb, src, srcsize*8); |
| | 295 | g3_byte = (compr == TIFF_G3) && (opts & 4); |
| | 296 | if (!g3_byte) |
| 294 | 297 | has_eol = show_bits(&gb, 12) == 1; |
| 295 | 298 | for(j = 0; j < height; j++){ |
| 296 | 299 | runend = runs + runsize; |