patch

Mike Castle <[email protected]>
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.