diff --git a/libavcodec/targa.c b/libavcodec/targa.c index b1bcb97e0472ddc2f64b45013b5ac279e37d00ae..56e02c1b21b9cffde5a1ca5b358bb9b182ca4216 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -142,8 +142,6 @@ static int decode_frame(AVCodecContext *avctx, avctx->pix_fmt = ((compr & (~TGA_RLE)) == TGA_BW) ? PIX_FMT_GRAY8 : PIX_FMT_PAL8; break; case 15: - avctx->pix_fmt = PIX_FMT_RGB555LE; - break; case 16: avctx->pix_fmt = PIX_FMT_RGB555LE; break;