[MPlayer-users] Bug Report: jpeg to avi is broken

Guillaume POIRIER poirierg at gmail.com
Tue Jun 28 09:56:26 CEST 2005


Hi,

On 6/28/05, Philip Walden <pwaldenlinux at pacbell.net> wrote:
> Guillaume POIRIER wrote:
> 
> >Hello,
> >
> >On 6/27/05, Philip Walden <pwaldenlinux at pacbell.net> wrote:
> >
> >
> >>Reimar Döffinger wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>On Sun, Jun 26, 2005 at 09:17:20PM -0700, Philip Walden wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>(gdb) bt
> >>>>#0  0x08188d72 in hScale_MMX2 (dst=Cannot access memory at address
> >>>>0xfffffd88
> >>>>) at swscale_template.c:2048
> >>>>Cannot access memory at address 0xfffffd80
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Reminds me of a similar problem I have seen recently. Can you try to
> >>>compile with gcc 3.4.x?
> >>>
> >>>
> >>>
> >>>
> >>I am on Redhat 9. I cannot find a gcc 3.4.x for that distribution.
> >>
> >>I had not planned to upgrade to Fedora for awhile.
> >>
> >>Since the segmentation fault is only on the current CVS, would not it be
> >>easier to debug the 1.0pre7 release which does not fault?
> >>
> >>I have been able to get 1.0pre7 under gdb. the demux_mf.c seems to be
> >>opening the the jpeg files in correct sequence. I suspect that there is
> >>some wrong in decode_video() (or elsewhere?) with frame calculations. So
> >>that it is always decoding a bad buffer of data.
> >>
> >>
> >
> >If you experience the same problem as all the other users of gcc3, the
> >problem is likely to come from postproc/swscale_template.c so your
> >best bet is to revert all the commits before the one I made to support
> >gcc4 and see what happen.
> >
> >
> I do not have access to the cvs (I think, sort of new at this).
> 
> Can you send me the older postproc/swscale_template.c to give it a try?

It's all available on the web:
http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/postproc/swscale_template.c

last working version is for sure 1.114.

The cvsweb service will generate for you any patch to go from one
version to another.
Here is the one you're looking for (I think)

http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/main/postproc/swscale_template.c.diff?r1=text&tr1=1.117&r2=text&tr2=1.114&f=u

Guillaume
-- 
A woman isn't complete without a man.
But where do you find a man - a real man - these
days?
  -- Lauren Bacall
My answer: Only at #mplayerdev on the freenode IRC network.




More information about the MPlayer-users mailing list