This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
vmd: use the PALETTE_COUNT constant uniformly
While at it drop useless parentheses.
tags/n2.0
Luca Barbato
12 years ago
parent
a51161ed98
commit
91a6944e56
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/vmdav.c
+ 1
- 1
libavcodec/vmdav.c
View File
@@ -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 */
Write
Preview
Loading…
Cancel
Save