Revision 72415b2a libavformat/dsicin.c

View differences:

libavformat/dsicin.c
113 113

  
114 114
    av_set_pts_info(st, 32, 1, 12);
115 115
    cin->video_stream_index = st->index;
116
    st->codec->codec_type = CODEC_TYPE_VIDEO;
116
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
117 117
    st->codec->codec_id = CODEC_ID_DSICINVIDEO;
118 118
    st->codec->codec_tag = 0;  /* no fourcc */
119 119
    st->codec->width = hdr->video_frame_width;
......
126 126

  
127 127
    av_set_pts_info(st, 32, 1, 22050);
128 128
    cin->audio_stream_index = st->index;
129
    st->codec->codec_type = CODEC_TYPE_AUDIO;
129
    st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
130 130
    st->codec->codec_id = CODEC_ID_DSICINAUDIO;
131 131
    st->codec->codec_tag = 0;  /* no tag */
132 132
    st->codec->channels = 1;

Also available in: Unified diff