[DVDnav-discuss] r993 - trunk/libdvdnav/src/vm/decoder.c
nicodvb
subversion at mplayerhq.hu
Sat Jan 5 10:22:46 CET 2008
Author: nicodvb
Date: Sat Jan 5 10:22:45 2008
New Revision: 993
Log:
static-ize a const; patch by Diego Pettenò
Modified:
trunk/libdvdnav/src/vm/decoder.c
Modified: trunk/libdvdnav/src/vm/decoder.c
==============================================================================
--- trunk/libdvdnav/src/vm/decoder.c (original)
+++ trunk/libdvdnav/src/vm/decoder.c Sat Jan 5 10:22:45 2008
@@ -417,7 +417,7 @@ static int32_t eval_system_set(command_t
For the swap case the contents of reg is stored in reg2.
*/
static void eval_set_op(command_t* command, int32_t op, int32_t reg, int32_t reg2, int32_t data) {
- const int32_t shortmax = 0xffff;
+ static const int32_t shortmax = 0xffff;
int32_t tmp;
switch(op) {
case 1:
More information about the DVDnav-discuss
mailing list