[FFmpeg-devel] GSoC project (JPEG 2000)
rukhsana.afroz at gmail.com
Sun Mar 27 07:46:20 CEST 2011
On Sat, Mar 26, 2011 at 10:10 PM, Peter Ross <pross at xvid.org> wrote:
> The FFmpeg build system forbids the use of global functions, without a
> prototype declaration. To fix this, you need to declare a
> prototype somewhere _or_ make the function static.
> From the gcc manpage:
> -Wmissing-prototypes (C and Objective-C only)
> Warn if a global function is defined without a previous prototype
> declaration. This warning is issued even if
> the definition itself provides a prototype. The aim is to detect
> global functions that fail to be declared in
> header files.
Thanks Peter for your help. I made static this file in both declaration and
implementation. Now, I got rid of this problem. While linking jpeg 2000 with
ffmpeg, i got the following error:
In function `avcodec_register_all':
undefined reference to `ff_jpeg2000_decoder'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
If anybody could help getting rid of it, that would be great.
Department of Electrical & Computer Engineering
The University of British Columbia
More information about the ffmpeg-devel