From 63538a960e762e68ec23290ab198a0158339e109 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 1 Dec 2009 16:56:13 +0000 Subject: Support ASCII pnms. Implements issue1452. Originally committed as revision 20687 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/pnm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/pnm.h') 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); -- cgit v1.2.3