[Ffmpeg-cvslog] r7003 - trunk/libavcodec/tiff.c

kostya subversion
Mon Nov 13 06:29:46 CET 2006


Author: kostya
Date: Mon Nov 13 06:29:45 2006
New Revision: 7003

Modified:
   trunk/libavcodec/tiff.c

Log:
Warn about JPEG in TIFF

Modified: trunk/libavcodec/tiff.c
==============================================================================
--- trunk/libavcodec/tiff.c	(original)
+++ trunk/libavcodec/tiff.c	Mon Nov 13 06:29:45 2006
@@ -282,6 +282,10 @@
         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;




More information about the ffmpeg-cvslog mailing list