Message ID | 20200926102804.228089-7-andreas.rheinhardt@gmail.com |
---|---|
State | Accepted |
Commit | 08e5597d2f139edda8920444a04a1b155f8a3a03 |
Headers | show |
Series | [FFmpeg-devel,01/25] avcodec/photocd: Simplify parsing Huffman tables a bit | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On Sat, Sep 26, 2020 at 12:27:46PM +0200, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> > --- > libavcodec/magicyuv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) lgtm > > diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c > index f7dfef0eb8..3413d8f298 100644 > --- a/libavcodec/magicyuv.c > +++ b/libavcodec/magicyuv.c > @@ -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 > -- > 2.25.1 > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff --git a/libavcodec/magicyuv.c b/libavcodec/magicyuv.c index f7dfef0eb8..3413d8f298 100644 --- a/libavcodec/magicyuv.c +++ b/libavcodec/magicyuv.c @@ -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
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> --- libavcodec/magicyuv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)