printf ("  Cinepak: get_buffer() failed\n");
av_log(avctx, AV_LOG_ERROR, "  Cinepak: get_buffer() failed\n");
static int cinepak_decode_frame(AVCodecContext *avctx,                                void *data, int *data_size,                                uint8_t *buf, int buf_size){    CinepakContext *s = (CinepakContext *)avctx->priv_data;    s->data = buf;    s->size = buf_size;    if (avctx->get_buffer(avctx, &s->frame)) {        printf ("  Cinepak: get_buffer() failed\n");        return -1;    }    cinepak_decode(s);    if (s->prev_frame.data[0])        avctx->release_buffer(avctx, &s->prev_frame);    /* shuffle frames */    s->prev_frame = s->frame;    *data_size = sizeof(AVFrame);    *(AVFrame*)data = s->frame;    /* report that the buffer was completely consumed */    return buf_size;}