Revision 72415b2a libavformat/c93.c

View differences:

libavformat/c93.c
83 83
    if (!video)
84 84
        return AVERROR(ENOMEM);
85 85

  
86
    video->codec->codec_type = CODEC_TYPE_VIDEO;
86
    video->codec->codec_type = AVMEDIA_TYPE_VIDEO;
87 87
    video->codec->codec_id = CODEC_ID_C93;
88 88
    video->codec->width = 320;
89 89
    video->codec->height = 192;
......
120 120
                c93->audio = av_new_stream(s, 1);
121 121
                if (!c93->audio)
122 122
                    return AVERROR(ENOMEM);
123
                c93->audio->codec->codec_type = CODEC_TYPE_AUDIO;
123
                c93->audio->codec->codec_type = AVMEDIA_TYPE_AUDIO;
124 124
            }
125 125
            url_fskip(pb, 26); /* VOC header */
126 126
            ret = voc_get_packet(s, pkt, c93->audio, datasize - 26);

Also available in: Unified diff