Revision 72415b2a libavformat/ape.c

View differences:

libavformat/ape.c
301 301

  
302 302
    total_blocks = (ape->totalframes == 0) ? 0 : ((ape->totalframes - 1) * ape->blocksperframe) + ape->finalframeblocks;
303 303

  
304
    st->codec->codec_type      = CODEC_TYPE_AUDIO;
304
    st->codec->codec_type      = AVMEDIA_TYPE_AUDIO;
305 305
    st->codec->codec_id        = CODEC_ID_APE;
306 306
    st->codec->codec_tag       = MKTAG('A', 'P', 'E', ' ');
307 307
    st->codec->channels        = ape->channels;

Also available in: Unified diff