diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-31 23:01:09 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-31 23:20:31 +0100 |
commit | e167610794db8f2202f9dbe013c54f6b34d7f7a0 (patch) | |
tree | e031a1eb1e81a8a5c708a02f363a89cf7d304278 /libavcodec/rscc.c | |
parent | 5a123f1424feb7299d9e5138112cdcea80a48cb7 (diff) | |
download | ffmpeg-e167610794db8f2202f9dbe013c54f6b34d7f7a0.tar.gz |
avcodec/rscc: Fix constant
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/rscc.c')
-rw-r--r-- | libavcodec/rscc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rscc.c b/libavcodec/rscc.c index 7eb8776886..d01f05c022 100644 --- a/libavcodec/rscc.c +++ b/libavcodec/rscc.c @@ -314,7 +314,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void *data, const uint8_t *pal = av_packet_get_side_data(avpkt, AV_PKT_DATA_PALETTE, &size); - if (pal && size == AV_PKT_DATA_PALETTE) { + if (pal && size == AVPALETTE_SIZE) { frame->palette_has_changed = 1; memcpy(ctx->pal, pal, AVPALETTE_SIZE); } else if (pal) { |