[Mplayer-advusers] ffmjpeg DR? bug FIX

Michael Niedermayer michaelni at gmx.at
Fri Nov 7 00:25:03 CET 2003


Hi

On Thursday 06 November 2003 20:04, rsnel at cube.dyndns.org wrote:
> Hello Michael,
>
> On Tue, Nov 04, 2003 at 11:39:19PM +0100, Michael Niedermayer wrote:
> > On Tuesday 04 November 2003 22:18, rsnel at cube.dyndns.org wrote:
> > > My guess is that it has someting to do with the colorspace
> > > of the JPEGS inside. (YUV422, instead of the more common YUV420).
> >
> > hmm the chroma stride returned by mpcodecs_get_image() suddenly
> > doubles before the crash, so this doesnt seem to be a libavcodec bug,
> > and no, the stride doublng code at line 730 in vd_ffmpeg isnt it, as
> > it happens with that commented out too
>
> I found the problem, it is in postproc/. If the colorspace converter
> encounters YUV422, it doubles the strides and treats the data as YUV420.
> But it doesn't reset the strides to the correct values... (and the mpi's
> are re-used without re-initializing the stride parameters).
fixed

[...]
-- 
Michael
level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en



More information about the MPlayer-advusers mailing list