[MPlayer-dev-eng] [PATCH] Real demuer audio cleanup
Roberto Togni
r_togni at tiscali.it
Thu Dec 8 15:50:21 CET 2005
On Tue, 6 Dec 2005 10:52:23 +0100
Diego Biurrun <diego at biurrun.de> wrote:
> On Tue, Dec 06, 2005 at 01:49:04AM +0100, Roberto Togni wrote:
> >
> > New patch for demuxer_real.c attached. Seek is fixed
> > (audio_need_keyframe was never cleared), it also fixes a bug in
> > timestamps computation (was always 0).
>
> Seek is indeed fixed, but now I get crashes in decode_audio with the
> SIPR binary codec on PPC Linux. Tell me if you need further details,
> I'm in a rush right now.
[...]
This patch should fix it.
It was memory corruption, decoder input buffer was not allocated,
because audio_in_minsize was calculated using the old extradata, now
removed. For some reason on ppc the result was 0, while on x86 it was
not (any number > 0 would have been ok, even if wrong).
Ciao,
Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmcleanup.diff
Type: text/x-patch
Size: 22009 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20051208/0a0102b2/attachment.bin>
More information about the MPlayer-dev-eng
mailing list