OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a123f1
)
avcodec/rscc: Fix constant
author
Michael Niedermayer
<michael@niedermayer.cc>
Mon, 31 Oct 2016 22:01:09 +0000
(23:01 +0100)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Mon, 31 Oct 2016 22:20:31 +0000
(23:20 +0100)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rscc.c
patch
|
blob
|
history
diff --git
a/libavcodec/rscc.c
b/libavcodec/rscc.c
index
7eb8776
..
d01f05c
100644
(file)
--- 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_PALETT
E) {
+ if (pal && size == AV
PALETTE_SIZ
E) {
frame->palette_has_changed = 1;
memcpy(ctx->pal, pal, AVPALETTE_SIZE);
} else if (pal) {