You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/tiff: remove TIFF_LONG special case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -582,11 +582,8 @@ static int tiff_decode_tag(TiffContext *s, AVFrame *frame)
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case TIFF_BYTE:
|
case TIFF_BYTE:
|
||||||
case TIFF_SHORT:
|
case TIFF_SHORT:
|
||||||
value = ff_tget(&s->gb, type, s->le);
|
|
||||||
break;
|
|
||||||
case TIFF_LONG:
|
case TIFF_LONG:
|
||||||
off = ff_tget_long(&s->gb, s->le);
|
value = ff_tget(&s->gb, type, s->le);
|
||||||
value = off;
|
|
||||||
break;
|
break;
|
||||||
case TIFF_STRING:
|
case TIFF_STRING:
|
||||||
if (count <= 4) {
|
if (count <= 4) {
|
||||||
|
Reference in New Issue
Block a user