mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-05-01 06:13:08 +08:00
avcodec/magicyuv: Use const uint8_t* for pointer to immutable data
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ typedef struct MagicYUVContext {
|
||||
int color_matrix; // video color matrix
|
||||
int flags;
|
||||
int interlaced; // video is interlaced
|
||||
uint8_t *buf; // pointer to AVPacket->data
|
||||
const uint8_t *buf; // pointer to AVPacket->data
|
||||
int hshift[4];
|
||||
int vshift[4];
|
||||
Slice *slices[4]; // slice bitstream positions for each plane
|
||||
|
||||
Reference in New Issue
Block a user