X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpnm.h;h=89c3b5a2da96bb541397fcd89983f4a46262d32f;hb=1ec87f50f42a16f9228444dc08aa8264879f61e1;hp=5bc0aad29ff332cfb4b133b7ef49d5319ce38df2;hpb=79025da3f2e7ab047c8f3c0c817952a98480b26b;p=ffmpeg diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h index 5bc0aad29ff..89c3b5a2da9 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);