Signed-off-by: Mans Rullgard <mans@mansr.com>
{
CLJRContext * const a = avctx->priv_data;
- avctx->coded_frame = (AVFrame*)&a->picture;
+ avctx->coded_frame = &a->picture;
a->avctx = avctx;
return 0;
CLJRContext * const a = avctx->priv_data;
GetBitContext gb;
AVFrame *picture = data;
- AVFrame * const p= (AVFrame*)&a->picture;
+ AVFrame * const p = &a->picture;
int x, y;
if(p->data[0])
}
}
- *picture= *(AVFrame*)&a->picture;
+ *picture = a->picture;
*data_size = sizeof(AVPicture);
emms_c();