diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-13 10:39:45 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-10-13 10:39:45 +0000 |
commit | b5becbab090c0a5be1c2df47ecd116cf2c1d7823 (patch) | |
tree | 29d593dcab90c9d2080d7af0eddad67655b75986 /libavcodec/targa.c | |
parent | 01c8d258da5db97e67ac89af493ffb9bc2f82d2d (diff) | |
download | ffmpeg-b5becbab090c0a5be1c2df47ecd116cf2c1d7823.tar.gz |
Create a targa.h file to contain common definitions for targa encoder
and decoder.
Originally committed as revision 25464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r-- | libavcodec/targa.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c index 7b905a2d98..7f8774ef54 100644 --- a/libavcodec/targa.c +++ b/libavcodec/targa.c @@ -22,14 +22,7 @@ #include "libavutil/intreadwrite.h" #include "libavcore/imgutils.h" #include "avcodec.h" - -enum TargaCompr{ - TGA_NODATA = 0, // no image data - TGA_PAL = 1, // palettized - TGA_RGB = 2, // true-color - TGA_BW = 3, // black & white or grayscale - TGA_RLE = 8, // flag pointing that data is RLE-coded -}; +#include "targa.h" typedef struct TargaContext { AVFrame picture; |