Revision 72415b2a libavformat/oggparsedirac.c

View differences:

libavformat/oggparsedirac.c
39 39
    if (ff_dirac_parse_sequence_header(st->codec, &gb, &source) < 0)
40 40
        return -1;
41 41

  
42
    st->codec->codec_type = CODEC_TYPE_VIDEO;
42
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
43 43
    st->codec->codec_id = CODEC_ID_DIRAC;
44 44
    // dirac in ogg always stores timestamps as though the video were interlaced
45 45
    st->time_base = (AVRational){st->codec->time_base.num, 2*st->codec->time_base.den};
......
77 77
    if (buf[0] != 'K')
78 78
        return 0;
79 79

  
80
    st->codec->codec_type = CODEC_TYPE_VIDEO;
80
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
81 81
    st->codec->codec_id = CODEC_ID_DIRAC;
82 82
    st->time_base.den = AV_RB32(buf+8);
83 83
    st->time_base.num = AV_RB32(buf+12);

Also available in: Unified diff