You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
vmd: use the PALETTE_COUNT constant uniformly
While at it drop useless parentheses.
This commit is contained in:
@@ -255,7 +255,7 @@ static void vmd_decode(VmdVideoContext *s, AVFrame *frame)
|
||||
palette32[i] = (r << 16) | (g << 8) | (b);
|
||||
}
|
||||
}
|
||||
s->size -= (256 * 3 + 2);
|
||||
s->size -= PALETTE_COUNT * 3 + 2;
|
||||
}
|
||||
if (s->size > 0) {
|
||||
/* originally UnpackFrame in VAG's code */
|
||||
|
Reference in New Issue
Block a user