Revision e4141433 libavcodec/qtrle.c

View differences:

libavcodec/qtrle.c
491 491

  
492 492
static int qtrle_decode_init(AVCodecContext *avctx)
493 493
{
494
    QtrleContext *s = (QtrleContext *)avctx->priv_data;
494
    QtrleContext *s = avctx->priv_data;
495 495

  
496 496
    s->avctx = avctx;
497 497
    switch (avctx->bits_per_sample) {
......
534 534
                              void *data, int *data_size,
535 535
                              uint8_t *buf, int buf_size)
536 536
{
537
    QtrleContext *s = (QtrleContext *)avctx->priv_data;
537
    QtrleContext *s = avctx->priv_data;
538 538

  
539 539
    s->buf = buf;
540 540
    s->size = buf_size;
......
607 607

  
608 608
static int qtrle_decode_end(AVCodecContext *avctx)
609 609
{
610
    QtrleContext *s = (QtrleContext *)avctx->priv_data;
610
    QtrleContext *s = avctx->priv_data;
611 611

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

Also available in: Unified diff