diff --git a/libavcodec/ivi_common.c b/libavcodec/ivi_common.c index 2606a925ee..0a58a689f5 100644 --- a/libavcodec/ivi_common.c +++ b/libavcodec/ivi_common.c @@ -89,7 +89,7 @@ int ff_ivi_create_huff_from_desc(const IVIHuffDesc *cb, VLC *vlc, int flag) (flag ? INIT_VLC_USE_NEW_STATIC : 0) | INIT_VLC_LE); } -void ff_ivi_init_static_vlc() +void ff_ivi_init_static_vlc(void) { int i; static VLC_TYPE table_data[8192 * 16][2]; diff --git a/libavcodec/ivi_common.h b/libavcodec/ivi_common.h index 5450e01398..95ab506fc6 100644 --- a/libavcodec/ivi_common.h +++ b/libavcodec/ivi_common.h @@ -205,7 +205,7 @@ int ff_ivi_create_huff_from_desc(const IVIHuffDesc *cb, VLC *vlc, int flag); /** * Initializes static codes used for macroblock and block decoding. */ -void ff_ivi_init_static_vlc(); +void ff_ivi_init_static_vlc(void); /** * Decodes a huffman codebook descriptor from the bitstream.