diff options
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index fbbea1a7e1..3d37d2e084 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -311,7 +311,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, } for (i = 0; i < s->bpp_tab_size; i++) - bpp_tab[i] = desc->comp[i].depth_minus1 + 1; + bpp_tab[i] = desc->comp[i].depth; if (s->compr == TIFF_DEFLATE || s->compr == TIFF_ADOBE_DEFLATE || |