libavcodec/mips/h264dsp_msa.c: fix type in some function parameters
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Wed, 12 Oct 2016 15:09:40 +0000 (16:09 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 13 Oct 2016 17:15:48 +0000 (19:15 +0200)
commit04b0792e4a7ac2866d269f9a1a921385ad410964
tree553d692d1142ab7b5ded8f31b9acfa0953e4c8e4
parent4d81f9631de70cd460413bc6aad22005c8dc6bf0
libavcodec/mips/h264dsp_msa.c: fix type in some function parameters

This fixes a build problem for MIPS architecture that looks like this:

libavcodec/mips/h264dsp_msa.c:2498:6: error: conflicting types for
‘ff_weight_h264_pixels16_8_msa’
 void ff_weight_h264_pixels16_8_msa(uint8_t *src, int stride,

This bug was introduced by commit bc26fe89275c267d169b468356c82ee59874407d:

  avcodec/h264: Use ptrdiff_t for (bi)weight functions

That commit changed the data type of some function parameters in some
function definitions. However, the implementation of those functions in
libavcodec/mips/h264dsp_msa.c wasn't changed accordingly.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/h264dsp_msa.c