changeset 5973:94f4e36639ae libavcodec

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"
author reimar
date Sun, 02 Dec 2007 21:11:43 +0000
parents f855600f6f0f
children ae05d6d12f12
files cabac.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;