summaryrefslogtreecommitdiff
path: root/libavcodec/pnm.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/pnm.h')
-rw-r--r--libavcodec/pnm.h6
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;