mxpegdec: use the AVFrame API properly.