Following patch was necessary to build against gcc version 2.95.4 20020723
(prerelease)


patch -p1 << \EOF
diff -ru avifile-0.7-0.7.38.orig/ffmpeg/libavformat/flvenc.c 
avifile-0.7-0.7.38/ffmpeg/libavformat/flvenc.c
--- avifile-0.7-0.7.38.orig/ffmpeg/libavformat/flvenc.c 2003-07-09 16:10:57.000000000 
-0700
+++ avifile-0.7-0.7.38/ffmpeg/libavformat/flvenc.c      2003-07-11 10:27:36.000000000 
-0700
@@ -227,10 +227,10 @@
     ByteIOContext *pb = &s->pb;
     FLVContext *flv = s->priv_data;
 
-    Dump(flv,pb,1);
-
     int64_t file_size = url_ftell(pb);
     int flags = 0;
+
+    Dump(flv,pb,1);
     flags |= flv->hasAudio ? 4 : 0;
     flags |= flv->hasVideo ? 1 : 0;
     url_fseek(pb, 4, SEEK_SET);
EOF


Also, is there supposed to be a pci_names.h in the archive?  I'm getting
errors associated with that...

mrc
-- 
     Mike Castle      [EMAIL PROTECTED]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to