mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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" Originally committed as revision 11135 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c20d3ce255
commit
5db3c3bc03
@ -738,7 +738,7 @@ static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *sign
|
|||||||
return coeff_count;
|
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 minusindex= 4-(int)index;
|
||||||
int coeff_count;
|
int coeff_count;
|
||||||
long last=0;
|
long last=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user