# HG changeset patch # User reimar # Date 1196629903 0 # Node ID 94f4e36639ae3aca581b9be39321082b4aa51571 # Parent f855600f6f0fa198d2ba7ea2ebaf0ae98f18f874 Add missing const to last argument of decode_significance_8x8_x86. Fixes "h264.c:5470: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type" diff -r f855600f6f0f -r 94f4e36639ae cabac.h --- a/cabac.h Sun Dec 02 19:28:20 2007 +0000 +++ b/cabac.h Sun Dec 02 21:11:43 2007 +0000 @@ -738,7 +738,7 @@ return coeff_count; } -static int decode_significance_8x8_x86(CABACContext *c, uint8_t *significant_coeff_ctx_base, int *index, uint8_t *sig_off){ +static int decode_significance_8x8_x86(CABACContext *c, uint8_t *significant_coeff_ctx_base, int *index, const uint8_t *sig_off){ int minusindex= 4-(int)index; int coeff_count; long last=0;