Package: avifile
Version: 1:0.7.44.20051021-1
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of avifile_1:0.7.44.20051021-1 on bigsur by sbuild/mips 1.94
...
>  mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include 
> -I/usr/include/SDL -D_REENTRANT -I../subtitles -I../../drivers -Wall 
> -Wno-unused -I../../include -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_GNU_SOURCE -pipe -Wp,-MD,.deps/aviplay.pp -c aviplay.cpp  -fPIC -DPIC -o 
> .libs/aviplay.o
> aviplay_impl.h:139: error: extra qualification 'avm::AviPlayer::' on member 
> 'propertyRead'
> make[3]: *** [aviplay.lo] Error 1


--- ./lib/aviplay/aviplay_impl.h~       2006-03-15 02:33:39.000000000 +0000
+++ ./lib/aviplay/aviplay_impl.h        2006-03-15 02:33:44.000000000 +0000
@@ -136,7 +136,7 @@
     void createAudioRenderer();
     int restartVideoStreaming(const char* codec = 0);
 
-    mutable int AviPlayer::propertyRead[LAST_PROPERTY]; // have we read at 
least once from Registry::
+    mutable int propertyRead[LAST_PROPERTY]; // have we read at least once 
from Registry::
 
     avm::vector<IVideoRenderer*> m_VideoRenderers; // we could draw image to 
more places
     IAudioRenderer* m_pAudioRenderer; // not sure about the sound - this will 
be
--- ./samples/misc/avicat.cpp~  2006-03-15 02:44:25.000000000 +0000
+++ ./samples/misc/avicat.cpp   2006-03-15 02:44:30.000000000 +0000
@@ -140,8 +140,8 @@
     avm::IVideoEncoder *vidEnc;
     void copyAudioFrames(int, int, bool);
     void createVideoEncoder(fourcc_t);
-    void AviCutter::writeVideoFrame(avm::CImage *image);
-    void AviCutter::copyVideoFrame();
+    void writeVideoFrame(avm::CImage *image);
+    void copyVideoFrame();
 
 public:
     AviCutter(avm::IWriteFile* outF,
--- ./plugins/libmp3lamebin_audioenc/lameencoder.cpp~   2006-03-15 
02:40:56.000000000 +0000
+++ ./plugins/libmp3lamebin_audioenc/lameencoder.cpp    2006-03-15 
02:41:18.000000000 +0000
@@ -71,14 +71,14 @@
     int CDECL (*p_lame_set_quality)(lame_global_flags *, int);
 
 public:
-    LameEncoder::LameEncoder(const CodecInfo& info, const WAVEFORMATEX* format)
+    LameEncoder(const CodecInfo& info, const WAVEFORMATEX* format)
        :IAudioEncoder(info), handle(0)
     {
         m_Error[0] = 0;
        in_fmt = *format;
     }
 
-    int LameEncoder::init()
+    int init()
     {
        handle = dlopen(mp3lamename, RTLD_LAZY);
 
--- ./plugins/libaudiodec/audiodecoder.cpp~     2006-03-15 02:37:37.000000000 
+0000
+++ ./plugins/libaudiodec/audiodecoder.cpp      2006-03-15 02:37:46.000000000 
+0000
@@ -114,7 +114,7 @@
 class MSGSM_Decoder : public IAudioDecoder
 {
 public:
-    MSGSM_Decoder::MSGSM_Decoder(const CodecInfo& info, const WAVEFORMATEX* wf)
+    MSGSM_Decoder(const CodecInfo& info, const WAVEFORMATEX* wf)
        :IAudioDecoder(info, wf)
     {
        GSM_Init();

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to