Arkadiusz Miskiewicz <[EMAIL PROTECTED]> writes:
> And here is fix to get libtool properly working with asm
> files. Wihtout this compilation fails for me (with message telling
> something like: bad libtool object xyz.lo)
>
> See attachment. Don't forget to chmod +x strip_fPIC.sh.
I broke one thing in that patch. Fix:
- $(LIBTOOL) --mode=compile --tag=disable-shared $(STRIP_FPIC) nasm -f elf $<
+ $(LIBTOOL) --mode=compile --tag=CXX $(STRIP_FPIC) nasm -f elf $<
Well --tag shouldn't be needed at all but libtool doesn't recognize
*.s files as assembler source (while it recognizes *.asm). Also there
is no better tag than CXX.
Anyway using ffmpeg codec on my i686 causes avifile to crash everytime
with all my avi files.
Example
[misiek@arm misiek]$ sudo mv /usr/X11R6/lib/avifile/libwin32* /tmp
[misiek@arm misiek]$ aviplay abc.avi
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr
445.402 MHz Celeron (Mendocino) processor detected
/usr/X11R6/lib/avifile/libmpeg_audiodec.so.0: found 1 plugin (A: 1 V: 0)
/usr/X11R6/lib/avifile/libmp3lame_audioenc.so.0: found 1 plugin (A: 1 V: 0)
/usr/X11R6/lib/avifile/libmjpeg.so.0: found 1 plugin (A: 0 V: 1)
/usr/X11R6/lib/avifile/libffmpeg.so.0: found 3 plugins (A: 0 V: 3)
/usr/X11R6/lib/avifile/libaudiodec.so.0: found 4 plugins (A: 4 V: 0)
Stream 0: 0x73646976 (vids) : 0x34766964 (div4) 250125 chunks
Cache: Adding stream 0, 250125 chunks
Stream 1: 0x73647561 (auds) : 0x0 () 20010 chunks
Cache: Adding stream 1, 20010 chunks
Cache: Creating cache for file descriptor: 8
Successfully initialized stream 0
Chunk table size 250125, format size 40
Successfully initialized stream 1
Chunk table size 119880252, format size 30
Successfully opened /home/users/misiek/abc.avi. 1 video streams, 1 audio streams
Length 250125
File /home/users/misiek/abc.avi successfully opened
2 streams
Audio in MPEG Layer-1/2 format
src [wFormatTag=85, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=11982,
nBlockAlign=1, wBitsPerSample=16, cbSize=12]
dst [wFormatTag=1, nChannels=2, nSamplesPerSec=44100, nAvgBytesPerSec=176400,
nBlockAlign=4, wBitsPerSample=16, cbSize=0]
Naruszenie ochrony pamięci
[misiek@arm misiek]$
Unfortunately I stripped libraries, so no gdb output but it should be
easy to trigger this bug with any avi file using ffmpeg codec.
avifile-0.6-0.20010726.1
XFree86-4.1.0-1
qt-2.3.1-1
SDL-1.2.1-2
gcc2-2.95.3-1
--
Arkadiusz Miśkiewicz, AM2-6BONE, 1024/3DB19BBD
IPv6 ready PLD Linux at http://www.pld.org.pl/
My jsme Borg. Odpor je marný, budete asimilováni
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile