Revision 72415b2a libavformat/tmv.c

View differences:

libavformat/tmv.c
109 109
        return -1;
110 110
    }
111 111

  
112
    ast->codec->codec_type            = CODEC_TYPE_AUDIO;
112
    ast->codec->codec_type            = AVMEDIA_TYPE_AUDIO;
113 113
    ast->codec->codec_id              = CODEC_ID_PCM_U8;
114 114
    ast->codec->channels              = features & TMV_STEREO ? 2 : 1;
115 115
    ast->codec->bits_per_coded_sample = 8;
......
121 121
    fps.den = tmv->audio_chunk_size;
122 122
    av_reduce(&fps.num, &fps.den, fps.num, fps.den, 0xFFFFFFFFLL);
123 123

  
124
    vst->codec->codec_type = CODEC_TYPE_VIDEO;
124
    vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
125 125
    vst->codec->codec_id   = CODEC_ID_TMV;
126 126
    vst->codec->pix_fmt    = PIX_FMT_PAL8;
127 127
    vst->codec->width      = char_cols * 8;

Also available in: Unified diff