Revision 72415b2a libavformat/mmf.c

View differences:

libavformat/mmf.c
244 244
    if (!st)
245 245
        return AVERROR(ENOMEM);
246 246

  
247
    st->codec->codec_type = CODEC_TYPE_AUDIO;
247
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
248 248
    st->codec->codec_id = CODEC_ID_ADPCM_YAMAHA;
249 249
    st->codec->sample_rate = rate;
250 250
    st->codec->channels = 1;

Also available in: Unified diff