Browse Source

Simplify PIX_FMT_RGB555LE selection in targa decoder.

Suggested by Jean First.
tags/n0.10
Carl Eugen Hoyos 14 years ago
parent
commit
34aadeaa2c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/targa.c

+ 0
- 2
libavcodec/targa.c View File

@@ -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;


Loading…
Cancel
Save