Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 18:43:09 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-11-13 18:43:09 +0400
commit9117592549c63602710275abab17841b733c5b2d (patch)
tree9823ccfe5307c85504790ad1cf588a6c90e75ff9 /libavcodec/jvdec.c
parenteb664d4ae3089560bf756d23962ec6f4a7b5092a (diff)
Cosmetics: Increase readability.
Diffstat (limited to 'libavcodec/jvdec.c')
-rw-r--r--libavcodec/jvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 7ceba1e001..223cef1fa7 100644
--- a/libavcodec/jvdec.c
+++ b/libavcodec/jvdec.c
@@ -173,7 +173,7 @@ static int decode_frame(AVCodecContext *avctx,
if (buf < buf_end) {
for (i = 0; i < AVPALETTE_COUNT && buf + 3 <= buf_end; i++) {
uint32_t pal = AV_RB24(buf);
- s->palette[i] = 0xFF << 24 | pal << 2 | pal >> 4 & 0x30303;
+ s->palette[i] = 0xFF << 24 | pal << 2 | ((pal >> 4) & 0x30303);
buf += 3;
}
s->palette_has_changed = 1;