提交 d5ad4e4a 编写于 作者: M Michael Niedermayer

avcodec/tiff: remove TIFF_LONG special case

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 0aba920d
......@@ -582,11 +582,8 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
switch (type) {
case TIFF_BYTE:
case TIFF_SHORT:
value = ff_tget(&s->gb, type, s->le);
break;
case TIFF_LONG:
off = ff_tget_long(&s->gb, s->le);
value = off;
value = ff_tget(&s->gb, type, s->le);
break;
case TIFF_STRING:
if (count <= 4) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册