Hi, The issue is with mpegencoder.cpp, line 94 and not ffmpeg (just make sure you have the latest release for your distribution). So it's about the not recommended usage of goto. You could just replace that piece of code with an if then else equivalent clause. I think that somebody sent me a patch about this but I still didn't find the time to merge it in LiveCam... I'll fix it asap.
Best regards, Ilyes Gouta. On Tue, Feb 26, 2008 at 2:29 AM, Sid Boyce <[EMAIL PROTECTED]> wrote: > # make > make all-am > make[1]: Entering directory `/ftp/jan08/LIVECAM/livecam/trunk' > g++ -DHAVE_CONFIG_H -I. -g -O2 -D_GNU_SOURCE=1 -D_REENTRANT > -I/usr/include/SDL -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG > -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3//include > -I/usr/include/ffmpeg -MT mpegencoder.o -MD -MP -MF > .deps/mpegencoder.Tpo -c -o mpegencoder.o mpegencoder.cpp > In file included from mpegencoder.h:27, > from mpegencoder.cpp:28: > /usr/include/ffmpeg/avcodec.h:2293: warning: 'ImgReSampleContext' is > deprecated (declared at /usr/include/ffmpeg/avcodec.h:2287) > /usr/include/ffmpeg/avcodec.h:2303: warning: 'ImgReSampleContext' is > deprecated (declared at /usr/include/ffmpeg/avcodec.h:2287) > mpegencoder.cpp: In member function 'virtual int > MPEGEncoder::Start(char*, v4l2_pix_format*)': > mpegencoder.cpp:94: error: jump to label 'error' > mpegencoder.cpp:72: error: from here > mpegencoder.cpp:82: error: crosses initialization of 'AVRational > <anonymous>' > make[1]: *** [mpegencoder.o] Error 1 > make[1]: Leaving directory `/ftp/jan08/LIVECAM/livecam/trunk' > make: *** [all] Error 2 > > # grep -n swscale /usr/include/ffmpeg/*|o > /usr/include/ffmpeg/avcodec.h:2285: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2290: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2296: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2306: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2312: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2451: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2926: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2932: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/avcodec.h:2938: * @deprecated Use the software > scaler (swscale) instead. > /usr/include/ffmpeg/swscale.h:25: * @file swscale.h > /usr/include/ffmpeg/swscale.h:27: * external api for the swscale stuff > > Regards > Sid. > -- > Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot > Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support > Specialist, Cricket Coach > Microsoft Windows Free Zone - Linux used for all Computing Tasks > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > M560x-driver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
