Revision e4141433 libavcodec/truemotion1.c

View differences:

libavcodec/truemotion1.c
465 465

  
466 466
static int truemotion1_decode_init(AVCodecContext *avctx)
467 467
{
468
    TrueMotion1Context *s = (TrueMotion1Context *)avctx->priv_data;
468
    TrueMotion1Context *s = avctx->priv_data;
469 469

  
470 470
    s->avctx = avctx;
471 471

  
......
863 863
                                    void *data, int *data_size,
864 864
                                    uint8_t *buf, int buf_size)
865 865
{
866
    TrueMotion1Context *s = (TrueMotion1Context *)avctx->priv_data;
866
    TrueMotion1Context *s = avctx->priv_data;
867 867

  
868 868
    s->buf = buf;
869 869
    s->size = buf_size;
......
903 903

  
904 904
static int truemotion1_decode_end(AVCodecContext *avctx)
905 905
{
906
    TrueMotion1Context *s = (TrueMotion1Context *)avctx->priv_data;
906
    TrueMotion1Context *s = avctx->priv_data;
907 907

  
908 908
    /* release the last frame */
909 909
    if (s->prev_frame.data[0])

Also available in: Unified diff