diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-05-27 16:42:24 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-05-30 18:02:55 +0200 |
commit | d49db99ce2be29c4ae4083dfb04128ff842285fd (patch) | |
tree | e3637d365b11f5fe2a27261b9691b86070861527 /libavcodec/pnm.h | |
parent | 439128960991aea38263a53c7634a0e2aa786691 (diff) | |
download | ffmpeg-d49db99ce2be29c4ae4083dfb04128ff842285fd.tar.gz |
avcodec: add PFM image decoder
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r-- | libavcodec/pnm.h | 2 |
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); |