[MPlayer-dev-eng] [PATCH] mpi->w and mpi->h overwritten in libmpcodecs/vd.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Sep 26 23:10:09 CEST 2004


Hi,

> mpcodecs_get_image overwrites the w and h fields of the mp_image 
> structure after allocating it. But when using -vf spp and playing a file 
> with height not divisible by 16, this causes
> vf.c: have to REALLOCATE buffer memory :(
> to be printed over and over.
> Thsi patch removes these two lines, which I think is correct as filters 
> should be able to set the size of the mpi bigger if they need this.
> I also think this should not cause any problems, as w and h are set 
> initially in new_mp_image in mp_image.h.

I will apply tomorrow if nobody responds...

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list