Revision e4141433 libavcodec/flicvideo.c

View differences:

libavcodec/flicvideo.c
80 80

  
81 81
static int flic_decode_init(AVCodecContext *avctx)
82 82
{
83
    FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data;
83
    FlicDecodeContext *s = avctx->priv_data;
84 84
    unsigned char *fli_header = (unsigned char *)avctx->extradata;
85 85
    int depth;
86 86

  
......
128 128
                                  void *data, int *data_size,
129 129
                                  uint8_t *buf, int buf_size)
130 130
{
131
    FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data;
131
    FlicDecodeContext *s = avctx->priv_data;
132 132

  
133 133
    int stream_ptr = 0;
134 134
    int stream_ptr_after_color_chunk;
......
430 430
{
431 431
    /* Note, the only difference between the 15Bpp and 16Bpp */
432 432
    /* Format is the pixel format, the packets are processed the same. */
433
    FlicDecodeContext *s = (FlicDecodeContext *)avctx->priv_data;
433
    FlicDecodeContext *s = avctx->priv_data;
434 434

  
435 435
    int stream_ptr = 0;
436 436
    int pixel_ptr;

Also available in: Unified diff