[MPlayer-dev-eng] Re: Another warning and functionality fix

Daniel Egger degger at fhm.edu
Tue Feb 26 00:54:19 CET 2002


Hija, (sorry for the thread breaking, this is really the last time)

A'rpi wrote:

>> -      video_out->draw_frame(&pkg);
>> +      video_out->draw_frame(&(pkg->data));

> this is wrong

I assumed so but since

static vo_mpegpes_t *pkg=&packet;

and vo_mpegpes_t is a compound structure while draw_frame
is prototyped as

uint32_t draw_frame(uint8_t *src[]);

I'm pretty confident that the former version is fishy.

-- 
Servus,
       Daniel




More information about the MPlayer-dev-eng mailing list