comparison tiff.c @ 4184:cfaa5d84641e libavcodec

Warn about JPEG in TIFF
author kostya
date Mon, 13 Nov 2006 05:29:45 +0000
parents c70922cdf2ee
children 7120f779d313
comparison
equal deleted inserted replaced
4183:c70922cdf2ee 4184:cfaa5d84641e
280 av_log(s->avctx, AV_LOG_ERROR, "CCITT G4 compression is not supported\n"); 280 av_log(s->avctx, AV_LOG_ERROR, "CCITT G4 compression is not supported\n");
281 return -1; 281 return -1;
282 case TIFF_CCITT_RLE: 282 case TIFF_CCITT_RLE:
283 av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n"); 283 av_log(s->avctx, AV_LOG_ERROR, "CCITT RLE compression is not supported\n");
284 return -1; 284 return -1;
285 case TIFF_JPEG:
286 case TIFF_NEWJPEG:
287 av_log(s->avctx, AV_LOG_ERROR, "JPEG compression is not supported\n");
288 return -1;
285 default: 289 default:
286 av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr); 290 av_log(s->avctx, AV_LOG_ERROR, "Unknown compression method %i\n", s->compr);
287 return -1; 291 return -1;
288 } 292 }
289 break; 293 break;