Revision 72415b2a libavformat/rl2.c

View differences:

libavformat/rl2.c
116 116
    if(!st)
117 117
         return AVERROR(ENOMEM);
118 118

  
119
    st->codec->codec_type = CODEC_TYPE_VIDEO;
119
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
120 120
    st->codec->codec_id = CODEC_ID_RL2;
121 121
    st->codec->codec_tag = 0;  /* no fourcc */
122 122
    st->codec->width = 320;
......
145 145
        st = av_new_stream(s, 0);
146 146
        if (!st)
147 147
            return AVERROR(ENOMEM);
148
        st->codec->codec_type = CODEC_TYPE_AUDIO;
148
        st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
149 149
        st->codec->codec_id = CODEC_ID_PCM_U8;
150 150
        st->codec->codec_tag = 1;
151 151
        st->codec->channels = channels;

Also available in: Unified diff