diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-22 10:56:42 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:38:35 +0100 |
commit | 10e1ae5efffb8dd2a1932b4d965dbc6dd3338e70 (patch) | |
tree | 710e42a5473aeba1ca69866e771f9b9dc6a2f533 /libavcodec/tiffenc.c | |
parent | 370e923e0b6de85efc84443bc2c9a71f242b2623 (diff) | |
download | ffmpeg-10e1ae5efffb8dd2a1932b4d965dbc6dd3338e70.tar.gz |
lavc: remove disabled FF_API_TIFFENC_COMPLEVEL cruft.
Diffstat (limited to 'libavcodec/tiffenc.c')
-rw-r--r-- | libavcodec/tiffenc.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 3b2b82991b..0aa9740a99 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -231,22 +231,6 @@ static int encode_frame(AVCodecContext * avctx, unsigned char *buf, p->key_frame = 1; avctx->coded_frame= &s->picture; -#if FF_API_TIFFENC_COMPLEVEL - if (avctx->compression_level != FF_COMPRESSION_DEFAULT) - av_log(avctx, AV_LOG_WARNING, "Using compression_level to set compression " - "algorithm is deprecated. Please use the compression_algo private " - "option instead.\n"); - if (avctx->compression_level == 0) { - s->compr = TIFF_RAW; - } else if(avctx->compression_level == 2) { - s->compr = TIFF_LZW; -#if CONFIG_ZLIB - } else if ((avctx->compression_level >= 3)) { - s->compr = TIFF_DEFLATE; -#endif - } -#endif - s->width = avctx->width; s->height = avctx->height; s->subsampling[0] = 1; |