42 int i, src_stride =
FFALIGN(linelen, 4);
44 dst += (height - 1) * f->
linesize[0];
45 for (i = height; i; i--) {
46 memcpy(dst, src, linelen);
54 int i, j, src_stride =
FFALIGN(linelen, 4);
56 dst += (height - 1) * f->
linesize[0];
57 for (i = height; i; i--) {
58 for (j = linelen; j; j--)
60 src += src_stride - linelen;
68 int buf_size = avpkt->
size;
81 switch ((buf[0] >> 1) & 7) {
91 if (uncompress(c->
decomp_buf, &dlen, &buf[2], buf_size - 2) != Z_OK)
133 "CamStudio codec error: invalid depth %i bpp\n",