}
static int brpix_decode_frame(AVCodecContext *avctx,
- void *data, int *data_size_out,
+ void *data, int *got_frame,
AVPacket *avpkt)
{
BRPixContext *s = avctx->priv_data;
}
*frame_out = s->frame;
- *data_size_out = sizeof(AVFrame);
+ *got_frame = 1;
return avpkt->size;
}