Revision 18f77016 libavcodec/common.c

View differences:

libavcodec/common.c
133 133
    if(n) skip_bits(s, n);
134 134
}
135 135

  
136
int check_marker(GetBitContext *s, char *msg)
136
int check_marker(GetBitContext *s, const char *msg)
137 137
{
138 138
    int bit= get_bits1(s);
139 139
    if(!bit) printf("Marker bit missing %s\n", msg);
......
147 147

  
148 148
#define GET_DATA(v, table, i, wrap, size) \
149 149
{\
150
    UINT8 *ptr = (UINT8 *)table + i * wrap;\
150
    const UINT8 *ptr = (UINT8 *)table + i * wrap;\
151 151
    switch(size) {\
152 152
    case 1:\
153 153
        v = *(UINT8 *)ptr;\

Also available in: Unified diff