[Ffmpeg-devel] [PATCH] Chinese AVS video decoder

Måns Rullgård mru
Sun Jul 2 03:45:05 CEST 2006


M?ns Rullg?rd <mru at inprovide.com> writes:

> typedef struct {
>     MpegEncContext s;
>     Picture picture; //currently decoded frame
>     Picture DPB[2];  //reference frames
> [...]
> } AVSContext;
>
> Those should be AVFrame, or else the code fragments below are not good

Sorry about that.  I confused Picture with AVPicture.

Let this instead be an example of why confusingly similar names are
bad, and why hacking late at night is worse.

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list