Revision 01f4895c libavformat/mp3.c

View differences:

libavformat/mp3.c
251 251
    if (!st)
252 252
        return AVERROR_NOMEM;
253 253

  
254
    st->codec.codec_type = CODEC_TYPE_AUDIO;
255
    st->codec.codec_id = CODEC_ID_MP3;
254
    st->codec->codec_type = CODEC_TYPE_AUDIO;
255
    st->codec->codec_id = CODEC_ID_MP3;
256 256
    st->need_parsing = 1;
257 257
    
258 258
    /* try to get the TAG */

Also available in: Unified diff