[Mplayer-cvslog] CVS: main/libmpcodecs vd_zlib.c,NONE,1.1
Alex Beregszaszi
alex at naxine.org
Sat Mar 23 13:07:02 CET 2002
Hi,
> > > ctx->mpi = mpcodecs_get_image(sh, MP_IMGTYPE_TEMP, MP_IMGFLAG_ALLOCATED,
> > > ctx->width, ctx->height);
> > > if (!ctx->mpi)
> > > return(NULL);
> >
> > ehh
> > this should NOT be called from init() !
> >
> > and should be called for each frame once at decode()
> Yes, i know, BUT, avizlib frames hasn't got any header, only the RGB frame
> compressed. Everything is coming from the avi header. (shit, i know)
And for this reason, it's faster to get pointers only in init.
-
alex
More information about the MPlayer-cvslog
mailing list