clean up compiler warnings
did a test compile with clang and got rid of some warnings that have been annoying me for a while: vp8/decoder/detokenize.c: In function 'vp8_init_detokenizer': vp8/decoder/detokenize.c:121: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:122: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:123: warning: assignment from incompatible pointer type vp8/decoder/detokenize.c:124: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:125: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:128: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:129: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:130: warning: assignment discards qualifiers from pointer target type vp8/decoder/detokenize.c:131: warning: assignment discards qualifiers from pointer target type Change-Id: I78ddab176fe47cbeed30379709dc7bab01c0c2e4
This commit is contained in:
Родитель
d73217ab17
Коммит
5c244398e1
|
@ -48,21 +48,20 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int *scan;
|
int const *scan;
|
||||||
UINT8 *ptr_onyxblock2context_leftabove;
|
UINT8 const *ptr_onyxblock2context_leftabove;
|
||||||
vp8_tree_index *vp8_coef_tree_ptr; //onyx_coef_tree_ptr; ???
|
vp8_tree_index const *vp8_coef_tree_ptr;
|
||||||
TOKENEXTRABITS *teb_base_ptr;
|
TOKENEXTRABITS const *teb_base_ptr;
|
||||||
unsigned char *norm_ptr;
|
unsigned char *norm_ptr;
|
||||||
// UINT16 *ptr_onyx_coef_bands_x;
|
UINT16 *ptr_onyx_coef_bands_x;
|
||||||
UINT8 *ptr_onyx_coef_bands_x;
|
|
||||||
|
|
||||||
ENTROPY_CONTEXT **A;
|
ENTROPY_CONTEXT **A;
|
||||||
ENTROPY_CONTEXT(*L)[4];
|
ENTROPY_CONTEXT (*L)[4];
|
||||||
|
|
||||||
INT16 *qcoeff_start_ptr;
|
INT16 *qcoeff_start_ptr;
|
||||||
BOOL_DECODER *current_bc;
|
BOOL_DECODER *current_bc;
|
||||||
|
|
||||||
UINT8 *coef_probs[4];
|
vp8_prob const *coef_probs[4];
|
||||||
|
|
||||||
UINT8 eob[25];
|
UINT8 eob[25];
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче