[FFmpeg-cvslog] Simplify PIX_FMT_RGB555LE selection in targa decoder.
Carl Eugen Hoyos
git at videolan.org
Thu Jan 19 23:31:11 CET 2012
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Jan 19 23:03:21 2012 +0100| [34aadeaa2c2ae2e84abde3cca0a8b1392b8294ac] | committer: Carl Eugen Hoyos
Simplify PIX_FMT_RGB555LE selection in targa decoder.
Suggested by Jean First.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34aadeaa2c2ae2e84abde3cca0a8b1392b8294ac
---
libavcodec/targa.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavcodec/targa.c b/libavcodec/targa.c
index b1bcb97..56e02c1 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;
More information about the ffmpeg-cvslog
mailing list