Revision 01f4895c libavformat/gifdec.c

View differences:

libavformat/gifdec.c
555 555
    if (!st)
556 556
	return -1;
557 557

  
558
    st->codec.codec_type = CODEC_TYPE_VIDEO;
559
    st->codec.codec_id = CODEC_ID_RAWVIDEO;
560
    st->codec.time_base.den = 5;
561
    st->codec.time_base.num = 1;
558
    st->codec->codec_type = CODEC_TYPE_VIDEO;
559
    st->codec->codec_id = CODEC_ID_RAWVIDEO;
560
    st->codec->time_base.den = 5;
561
    st->codec->time_base.num = 1;
562 562
    /* XXX: check if screen size is always valid */
563
    st->codec.width = s->screen_width;
564
    st->codec.height = s->screen_height;
565
    st->codec.pix_fmt = PIX_FMT_RGB24;
563
    st->codec->width = s->screen_width;
564
    st->codec->height = s->screen_height;
565
    st->codec->pix_fmt = PIX_FMT_RGB24;
566 566
    return 0;
567 567
}
568 568

  

Also available in: Unified diff