Revision 72415b2a libavformat/bethsoftvid.c

View differences:

libavformat/bethsoftvid.c
74 74
    if (!stream)
75 75
        return AVERROR(ENOMEM);
76 76
    av_set_pts_info(stream, 32, 1, 60);     // 16 ms increments, i.e. 60 fps
77
    stream->codec->codec_type = CODEC_TYPE_VIDEO;
77
    stream->codec->codec_type = AVMEDIA_TYPE_VIDEO;
78 78
    stream->codec->codec_id = CODEC_ID_BETHSOFTVID;
79 79
    stream->codec->width = get_le16(pb);
80 80
    stream->codec->height = get_le16(pb);
......
86 86
    stream = av_new_stream(s, 0);
87 87
    if (!stream)
88 88
        return AVERROR(ENOMEM);
89
    stream->codec->codec_type = CODEC_TYPE_AUDIO;
89
    stream->codec->codec_type = AVMEDIA_TYPE_AUDIO;
90 90
    stream->codec->codec_id = CODEC_ID_PCM_U8;
91 91
    stream->codec->channels = 1;
92 92
    stream->codec->sample_rate = 11025;

Also available in: Unified diff