Revision 72415b2a libavformat/lmlm4.c

View differences:

libavformat/lmlm4.c
62 62

  
63 63
    if (!(st = av_new_stream(s, 0)))
64 64
        return AVERROR(ENOMEM);
65
    st->codec->codec_type = CODEC_TYPE_VIDEO;
65
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
66 66
    st->codec->codec_id   = CODEC_ID_MPEG4;
67 67
    st->need_parsing      = AVSTREAM_PARSE_HEADERS;
68 68
    av_set_pts_info(st, 64, 1001, 30000);
69 69

  
70 70
    if (!(st = av_new_stream(s, 1)))
71 71
        return AVERROR(ENOMEM);
72
    st->codec->codec_type = CODEC_TYPE_AUDIO;
72
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
73 73
    st->codec->codec_id   = CODEC_ID_MP2;
74 74
    st->need_parsing      = AVSTREAM_PARSE_HEADERS;
75 75

  

Also available in: Unified diff