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>
pull/353/head
Andreas Rheinhardt 4 years ago
parent bf31b45155
commit 08e5597d2f
  1. 2
      libavcodec/magicyuv.c

@ -63,7 +63,7 @@ typedef struct MagicYUVContext {
int color_matrix; // video color matrix int color_matrix; // video color matrix
int flags; int flags;
int interlaced; // video is interlaced int interlaced; // video is interlaced
uint8_t *buf; // pointer to AVPacket->data const uint8_t *buf; // pointer to AVPacket->data
int hshift[4]; int hshift[4];
int vshift[4]; int vshift[4];
Slice *slices[4]; // slice bitstream positions for each plane Slice *slices[4]; // slice bitstream positions for each plane

Loading…
Cancel
Save