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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Oct 1 22:08:49 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...

Nearly lost that one. Applied.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list