Revision 72415b2a libavformat/dv.c

View differences:

libavformat/dv.c
214 214
           if (!c->ast[i])
215 215
               break;
216 216
           av_set_pts_info(c->ast[i], 64, 1, 30000);
217
           c->ast[i]->codec->codec_type = CODEC_TYPE_AUDIO;
217
           c->ast[i]->codec->codec_type = AVMEDIA_TYPE_AUDIO;
218 218
           c->ast[i]->codec->codec_id   = CODEC_ID_PCM_S16LE;
219 219

  
220 220
           av_init_packet(&c->audio_pkt[i]);
......
290 290
    c->frames = 0;
291 291
    c->abytes = 0;
292 292

  
293
    c->vst->codec->codec_type = CODEC_TYPE_VIDEO;
293
    c->vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
294 294
    c->vst->codec->codec_id   = CODEC_ID_DVVIDEO;
295 295
    c->vst->codec->bit_rate   = 25000000;
296 296
    c->vst->start_time        = 0;

Also available in: Unified diff