[FFmpeg-devel] ffmpeg on SH4

Diego Biurrun diego
Mon Dec 10 16:37:34 CET 2007


On Mon, Dec 10, 2007 at 01:45:49PM +0100, Tamas Selmeci wrote:
> Luca Barbato wrote:
> 
> >>   #define DEF_OLD_QPEL(name)\
> >> -void ff_put_        ## name (uint8_t *dst/*align width (8 or 16)*/, 
> >> uint8_t *src/*align 1*/, int stride);\
> >> -void ff_put_no_rnd_ ## name (uint8_t *dst/*align width (8 or 16)*/, 
> >> uint8_t *src/*align 1*/, int stride);\
> >> -void ff_avg_        ## name (uint8_t *dst/*align width (8 or 16)*/, 
> >> uint8_t *src/*align 1*/, int stride);
> >> +static void ff_put_        ## name (uint8_t *dst/*align width (8 or 
> >> 16)*/, uint8_t *src/*align 1*/, int stride);\
> >> +static void ff_put_no_rnd_ ## name (uint8_t *dst/*align width (8 or 
> >> 16)*/, uint8_t *src/*align 1*/, int stride);\
> >> +static void ff_avg_        ## name (uint8_t *dst/*align width (8 or 
> >> 16)*/, uint8_t *src/*align 1*/, int stride);
> > 
> > what is supposed to fix?
> 
> Without static the compiler (sh4-linux-gcc from STLinux-2.2, gcc-4.1.1) 
> complained: "static declaration of ?ff_avg_qpel16_mc33_old_c? follows 
> non-static declaration..."

Can you post the exact error message?

Diego




More information about the ffmpeg-devel mailing list