[MPlayer-dev-eng] [PATCH] libaf 10l [was: Fw: Source code fix.]

Alex Beregszaszi alex at fsn.hu
Tue Aug 30 19:37:40 CEST 2005


Hi,

Next time please send diffs to the mailing list.

Attached is a patch version. Reimar, could you review this?

Begin forwarded message:

Date: Tue, 23 Aug 2005 13:16:31 -0700
From: James Schumacher <transeme at yahoo.com>
To: alex at mplayerhq.hu
Subject: Source code fix.



Greetings Alex,

I grabbed the Mplayer v1.0pre7 source directly with the tar-ball and
built mplayer.  I also downloaded the "all codecs for Linux x86" and
then built the mplayer.

The build went fine.  However when I tried to convert a wma file to wav
the program would segfault.   The command line I was using is:

    mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader
Track.wav

So I rebuilt with debugging turned on and with the aid of gdb was able
to patch the problem in libaf/af.c.


Included is the modifications I made to libaf/af.c.   I hope it helps. 
The program is great.

Regards,

- James




-- 
Alex Beregszaszi 			email: alex at fsn.hu
Free Software Network			cell: +36 70 3144424
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af.c
Type: text/x-c
Size: 19630 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050830/31964206/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af-last.diff
Type: text/x-patch
Size: 2292 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050830/31964206/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list