Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer authored on 2013/10/27 21:10:06... | ... |
@@ -578,6 +578,7 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame) |
578 | 578 |
goto end; |
579 | 579 |
} |
580 | 580 |
|
581 |
+ off = bytestream2_tell(&s->gb); |
|
581 | 582 |
if (count == 1) { |
582 | 583 |
switch (type) { |
583 | 584 |
case TIFF_BYTE: |
... | ... |
@@ -590,11 +591,8 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame) |
590 | 590 |
break; |
591 | 591 |
} |
592 | 592 |
default: |
593 |
- off = bytestream2_tell(&s->gb); |
|
594 | 593 |
value = UINT_MAX; |
595 | 594 |
} |
596 |
- } else { |
|
597 |
- off = bytestream2_tell(&s->gb); |
|
598 | 595 |
} |
599 | 596 |
|
600 | 597 |
switch (tag) { |