diff options
author | Bobby Bingham <uhmmmm@gmail.com> | 2007-03-15 12:23:08 +0000 |
---|---|---|
committer | Guillaume Poirier <gpoirier@mplayerhq.hu> | 2007-03-15 12:23:08 +0000 |
commit | 2c0c00cb143c48b0e7979b04496c87390aa277fc (patch) | |
tree | cb8fe78cad5d7c9d1b7e20c6a2deed9a85bfb3dc /libavformat/riff.c | |
parent | 65d0bea8f5382e02eaed27a2013174bd1be4c5e8 (diff) | |
download | ffmpeg-2c0c00cb143c48b0e7979b04496c87390aa277fc.tar.gz |
Targa (.tga) encoder,
patch by Bobby Bingham % uhmmmm A gmail P com %
Only handles 24-bit BGR and 8-bit grayscale, no RLE at the moment either.
Original thread:
Date: Mar 11, 2007 7:58 PM
Subject: [Ffmpeg-devel] [PATCH] Targa encoder
Originally committed as revision 8411 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/riff.c')
-rw-r--r-- | libavformat/riff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c index a7ecec7596..8a3893a692 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -167,6 +167,7 @@ const AVCodecTag codec_bmp_tags[] = { { CODEC_ID_CAVS, MKTAG('C', 'A', 'V', 'S') }, { CODEC_ID_JPEG2000, MKTAG('M', 'J', '2', 'C') }, { CODEC_ID_VMNC, MKTAG('V', 'M', 'n', 'c') }, + { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') }, { CODEC_ID_NONE, 0 }, }; |