summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r--libavcodec/pnm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h
index 5bc0aad29f..89c3b5a2da 100644
--- a/libavcodec/pnm.h
+++ b/libavcodec/pnm.h
@@ -30,6 +30,8 @@ typedef struct PNMContext {
uint8_t *bytestream_end;
int maxval; ///< maximum value of a pixel
int type;
+ int endian;
+ float scale;
} PNMContext;
int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);