summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-12-01 16:56:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-12-01 16:56:13 +0000
commit63538a960e762e68ec23290ab198a0158339e109 (patch)
treed30ba50d5b453e16d44713443599b2e613040660 /libavcodec/pnm.h
parent817d967d96995ac63b4f74101768b29b6da5aece (diff)
Support ASCII pnms.
Implements issue1452. Originally committed as revision 20687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r--libavcodec/pnm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h
index 163cad0815..ac4b1084fb 100644
--- a/libavcodec/pnm.h
+++ b/libavcodec/pnm.h
@@ -30,6 +30,7 @@ typedef struct PNMContext {
uint8_t *bytestream_end;
AVFrame picture;
int maxval; ///< maximum value of a pixel
+ int type;
} PNMContext;
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);