You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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