Browse Source

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>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
08e5597d2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/magicyuv.c

+ 1
- 1
libavcodec/magicyuv.c View File

@@ -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


Loading…
Cancel
Save