Revision 72415b2a libavformat/r3d.c

View differences:

libavformat/r3d.c
56 56

  
57 57
    if (!st)
58 58
        return AVERROR(ENOMEM);
59
    st->codec->codec_type = CODEC_TYPE_VIDEO;
59
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
60 60
    st->codec->codec_id = CODEC_ID_JPEG2000;
61 61

  
62 62
    tmp  = get_byte(s->pb); // major version
......
89 89
        AVStream *ast = av_new_stream(s, 1);
90 90
        if (!ast)
91 91
            return AVERROR(ENOMEM);
92
        ast->codec->codec_type = CODEC_TYPE_AUDIO;
92
        ast->codec->codec_type = AVMEDIA_TYPE_AUDIO;
93 93
        ast->codec->codec_id = CODEC_ID_PCM_S32BE;
94 94
        ast->codec->channels = tmp;
95 95
        av_set_pts_info(ast, 32, 1, st->time_base.den);

Also available in: Unified diff