diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-26 00:32:28 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-31 01:14:05 +0200 |
commit | 22ca2ef018096ce6019070e2067128dbd2f8d1fc (patch) | |
tree | 142068f422f92969193f7a4857ae7af9fe00c01a /libavcodec/pnm.h | |
parent | d8388e1b4e3965dd17d6aafbee1438e49cb6a219 (diff) | |
download | ffmpeg-22ca2ef018096ce6019070e2067128dbd2f8d1fc.tar.gz |
avcodec/pnmdec, pnm_parser: Improve const-correctness
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r-- | libavcodec/pnm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/pnm.h b/libavcodec/pnm.h index f109d16239..5bf2eaa4d9 100644 --- a/libavcodec/pnm.h +++ b/libavcodec/pnm.h @@ -25,9 +25,9 @@ #include "avcodec.h" typedef struct PNMContext { - uint8_t *bytestream; - uint8_t *bytestream_start; - uint8_t *bytestream_end; + const uint8_t *bytestream; + const uint8_t *bytestream_start; + const uint8_t *bytestream_end; int maxval; ///< maximum value of a pixel int type; int endian; |