diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:11:43 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-02 21:11:43 +0000 |
commit | 5db3c3bc0301298619504c2d3ba2305851afe169 (patch) | |
tree | c59272b03b05438f11872e7894ffe91637e23428 | |
parent | c20d3ce2554e72f8831da1aa8cadb37860610a71 (diff) | |
download | ffmpeg-5db3c3bc0301298619504c2d3ba2305851afe169.tar.gz |
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
-rw-r--r-- | libavcodec/cabac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cabac.h b/libavcodec/cabac.h index d7f58d7284..4499cf3eb6 100644 --- a/libavcodec/cabac.h +++ b/libavcodec/cabac.h @@ -738,7 +738,7 @@ static int decode_significance_x86(CABACContext *c, int max_coeff, uint8_t *sign 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; |