Browse Source

tiff: print log in case of unknown / unsupported tag

Helps debugging.
tags/n0.8
Stefano Sabatini 14 years ago
parent
commit
762b4662f0
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/tiff.c

+ 3
- 0
libavcodec/tiff.c View File

@@ -474,6 +474,9 @@ static int tiff_decode_tag(TiffContext *s, const uint8_t *start, const uint8_t *
if(s->compr == TIFF_G4)
s->fax_opts = value;
break;

default:
av_log(s->avctx, AV_LOG_DEBUG, "Unknown or unsupported tag %d/0X%0X\n", tag, tag);
}
return 0;
}


Loading…
Cancel
Save