Revision e4141433 libavcodec/msrle.c

View differences:

libavcodec/msrle.c
239 239

  
240 240
static int msrle_decode_init(AVCodecContext *avctx)
241 241
{
242
    MsrleContext *s = (MsrleContext *)avctx->priv_data;
242
    MsrleContext *s = avctx->priv_data;
243 243

  
244 244
    s->avctx = avctx;
245 245

  
......
253 253
                              void *data, int *data_size,
254 254
                              uint8_t *buf, int buf_size)
255 255
{
256
    MsrleContext *s = (MsrleContext *)avctx->priv_data;
256
    MsrleContext *s = avctx->priv_data;
257 257

  
258 258
    s->buf = buf;
259 259
    s->size = buf_size;
......
286 286

  
287 287
static int msrle_decode_end(AVCodecContext *avctx)
288 288
{
289
    MsrleContext *s = (MsrleContext *)avctx->priv_data;
289
    MsrleContext *s = avctx->priv_data;
290 290

  
291 291
    /* release the last frame */
292 292
    if (s->frame.data[0])

Also available in: Unified diff