Revision e4141433 libavcodec/idcinvideo.c

View differences:

libavcodec/idcinvideo.c
149 149

  
150 150
static int idcin_decode_init(AVCodecContext *avctx)
151 151
{
152
    IdcinContext *s = (IdcinContext *)avctx->priv_data;
152
    IdcinContext *s = avctx->priv_data;
153 153
    int i, j, histogram_index = 0;
154 154
    unsigned char *histograms;
155 155

  
......
216 216
                              void *data, int *data_size,
217 217
                              uint8_t *buf, int buf_size)
218 218
{
219
    IdcinContext *s = (IdcinContext *)avctx->priv_data;
219
    IdcinContext *s = avctx->priv_data;
220 220
    AVPaletteControl *palette_control = avctx->palctrl;
221 221

  
222 222
    s->buf = buf;
......
249 249

  
250 250
static int idcin_decode_end(AVCodecContext *avctx)
251 251
{
252
    IdcinContext *s = (IdcinContext *)avctx->priv_data;
252
    IdcinContext *s = avctx->priv_data;
253 253

  
254 254
    if (s->frame.data[0])
255 255
        avctx->release_buffer(avctx, &s->frame);

Also available in: Unified diff