diff options
Diffstat (limited to 'libavcodec/targaenc.c')
-rw-r--r-- | libavcodec/targaenc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/targaenc.c b/libavcodec/targaenc.c index 79030a012b..f662e4a489 100644 --- a/libavcodec/targaenc.c +++ b/libavcodec/targaenc.c @@ -152,13 +152,6 @@ static int targa_encode_frame(AVCodecContext *avctx, AVPacket *pkt, bpp = pkt->data[16] >> 3; -#if FF_API_CODER_TYPE -FF_DISABLE_DEPRECATION_WARNINGS - if (avctx->coder_type == FF_CODER_TYPE_RAW) - s->rle = 0; -FF_ENABLE_DEPRECATION_WARNINGS -#endif - /* try RLE compression */ if (s->rle) datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); |