39
39
static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
41
41
const uint8_t *buf = avpkt->data;
42
43
PTXContext * const s = avctx->priv_data;
44
45
AVFrame * const p = &s->picture;
45
46
unsigned int offset, w, h, y, stride, bytes_per_pixel;