Commit 7727f762 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tiff: Support uncompressed G3 CCITT fax

Fixes part of Ticket700
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a4f9bb22
...@@ -460,11 +460,7 @@ static int tiff_unpack_fax(TiffContext *s, uint8_t *dst, int stride, ...@@ -460,11 +460,7 @@ static int tiff_unpack_fax(TiffContext *s, uint8_t *dst, int stride,
"Error allocating temporary buffer\n"); "Error allocating temporary buffer\n");
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
} }
if ((s->fax_opts & 2) && s->compr == TIFF_G3) {
avpriv_request_sample(s->avctx, "Uncompressed fax mode");
av_free(src2);
return AVERROR_PATCHWELCOME;
}
if (!s->fill_order) { if (!s->fill_order) {
memcpy(src2, src, size); memcpy(src2, src, size);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment