diff options
author | Thilo Borgmann <thilo.borgmann@googlemail.com> | 2010-11-08 15:22:15 +0000 |
---|---|---|
committer | Thilo Borgmann <thilo.borgmann@googlemail.com> | 2010-11-08 15:22:15 +0000 |
commit | 4051ae7617f450e604ee951eb8e362bbf9f05211 (patch) | |
tree | 4577dc72242961231dabc9c3a4536a0a0bd3a827 /libavcodec/bgmc.h | |
parent | 361d2758799650a03a49239a683302341ccc91f6 (diff) | |
download | ffmpeg-4051ae7617f450e604ee951eb8e362bbf9f05211.tar.gz |
Allow clean initialization of lut_status array by changing type to signed int.
Originally committed as revision 25710 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bgmc.h')
-rw-r--r-- | libavcodec/bgmc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/bgmc.h b/libavcodec/bgmc.h index eab413b6a8..9e386fdbdd 100644 --- a/libavcodec/bgmc.h +++ b/libavcodec/bgmc.h @@ -34,10 +34,10 @@ #include "get_bits.h" -int ff_bgmc_init(AVCodecContext *avctx, uint8_t **cf_lut, unsigned int **cf_lut_status); +int ff_bgmc_init(AVCodecContext *avctx, uint8_t **cf_lut, int **cf_lut_status); -void ff_bgmc_end(uint8_t **cf_lut, unsigned int **cf_lut_status); +void ff_bgmc_end(uint8_t **cf_lut, int **cf_lut_status); void ff_bgmc_decode_init(GetBitContext *gb, @@ -48,9 +48,9 @@ void ff_bgmc_decode_end(GetBitContext *gb); void ff_bgmc_decode(GetBitContext *gb, unsigned int num, int32_t *dst, - unsigned int delta, unsigned int sx, + int delta, unsigned int sx, unsigned int *h, unsigned int *l, unsigned int *v, - uint8_t *cf_lut, unsigned int *cf_lut_status); + uint8_t *cf_lut, int *cf_lut_status); #endif /* AVCODEC_BGMC_H */ |