]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tiff.c
mp3dec: ask for 8khz switch point mp3s
[ffmpeg] / libavcodec / tiff.c
index 078c29a54117344f2b88086b35b021c67d8217d8..579bd0d5f70320e6b82620860887ddabe3245e50 100644 (file)
@@ -1008,6 +1008,8 @@ static int decode_frame(AVCodecContext *avctx,
         return -1;
     }
     s->le = le;
+    // TIFF_BPP is not a required tag and defaults to 1
+    s->bppcount = s->bpp = 1;
     s->invert = 0;
     s->compr = TIFF_RAW;
     s->fill_order = 0;