Revision 72415b2a libavformat/amr.c

View differences:

libavformat/amr.c
108 108
        st->codec->sample_rate = 8000;
109 109
    }
110 110
    st->codec->channels = 1;
111
    st->codec->codec_type = CODEC_TYPE_AUDIO;
111
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
112 112
    av_set_pts_info(st, 64, 1, st->codec->sample_rate);
113 113

  
114 114
    return 0;

Also available in: Unified diff