diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c
index 6c1c346e61d7c728412194ddbc062123e2f4c830..9b8da24e2062a3f95faabd73a3513d3ad4873319 100644
--- a/libavcodec/tiff.c
+++ b/libavcodec/tiff.c
@@ -422,6 +422,7 @@ static int decode_frame(AVCodecContext *avctx,
     }
     s->le = le;
     s->invert = 0;
+    s->compr = TIFF_RAW;
     // As TIFF 6.0 specification puts it "An arbitrary but carefully chosen number
     // that further identifies the file as a TIFF file"
     if(tget_short(&buf, le) != 42){