diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-04 18:08:14 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-09 19:37:53 +0200 |
commit | d5a0eba8a2481711e708442bcc1d14bf16e9d20b (patch) | |
tree | 56a13a62e6bd34e5a446f7d7a45dcc3ee6d246ba /libavformat/movenc.h | |
parent | 417554bdd6da58ec473096494618a22f7ac49b11 (diff) |
av(format|device): Add const to muxer packet data pointers
The packets given to muxers need not be writable,
so it is best to access them via const uint8_t*.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/movenc.h')
-rw-r--r-- | libavformat/movenc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.h b/libavformat/movenc.h index e4550f7900..c6b3313deb 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -62,7 +62,7 @@ typedef struct MOVIentry { } MOVIentry; typedef struct HintSample { - uint8_t *data; + const uint8_t *data; int size; int sample_number; int offset; |