projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8a152
)
Warn about JPEG in TIFF
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 13 Nov 2006 05:29:45 +0000
(
05:29
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Mon, 13 Nov 2006 05:29:45 +0000
(
05:29
+0000)
Originally committed as revision 7003 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/tiff.c
patch
|
blob
|
history
diff --git
a/libavcodec/tiff.c
b/libavcodec/tiff.c
index
ee2627c
..
954e40f
100644
(file)
--- a/
libavcodec/tiff.c
+++ b/
libavcodec/tiff.c
@@
-282,6
+282,10
@@
static int tiff_decode_tag(TiffContext *s, uint8_t *start, uint8_t *buf, uint8_t
case TIFF_CCITT_RLE:
av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n");
return -1;
+ case TIFF_JPEG:
+ case TIFF_NEWJPEG:
+ av_log(s->avctx, AV_LOG_ERROR, "JPEG compression is not supported\n");
+ return -1;
default:
av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
return -1;