[MPlayer-users] lavcac3enc=1 Crashing mplayer

Ulion ulion2002 at gmail.com
Fri Jan 11 07:18:22 CET 2008


2008/1/11, Matthew Nichols <mjnichol at uwaterloo.ca>:
> Just grabbed a fresh copy from SVN, configured with --enable-debug=3,
> make, and then ran
>
> gdb --args ./mplayer -v -ao alsa:device=hw=1 -af lavcac3enc=1
> /home/mjnichol/test.wav
>
> Below is the log and backtrace (bt). I have also included the output of
> valgrind (which test for errors in accessing memory). It seems to
> indicate that line 244 in af_lavcac3enc.c is causing a problem:
>
> memset(buf + 8 + len, 0, AC3_FRAME_SIZE * 2 * 2 - 8 - len);
>
> (By the way, I tested this on my (64-bit) laptop and get exactly the
> same crash; unfortunately i have no 32-bit machine to test on)

um, here could be problem.
I patched it, patch is here, please try it, if  it can resolve your
problem, please tell me, then I will commit it.

-- 
Ulion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: af_lavcac3enc_resizefix.diff
Type: text/x-vhdl
Size: 1238 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20080111/2ddfb93d/attachment.bin>


More information about the MPlayer-users mailing list