Revision 72415b2a libavformat/bink.c

View differences:

libavformat/bink.c
111 111
    }
112 112
    av_set_pts_info(vst, 64, fps_den, fps_num);
113 113

  
114
    vst->codec->codec_type = CODEC_TYPE_VIDEO;
114
    vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
115 115
    vst->codec->codec_id   = CODEC_ID_BINKVIDEO;
116 116
    vst->codec->extradata  = av_mallocz(4 + FF_INPUT_BUFFER_PADDING_SIZE);
117 117
    vst->codec->extradata_size = 4;
......
133 133
            ast = av_new_stream(s, 1);
134 134
            if (!ast)
135 135
                return AVERROR(ENOMEM);
136
            ast->codec->codec_type  = CODEC_TYPE_AUDIO;
136
            ast->codec->codec_type  = AVMEDIA_TYPE_AUDIO;
137 137
            ast->codec->codec_tag   = 0;
138 138
            ast->codec->sample_rate = get_le16(pb);
139 139
            av_set_pts_info(ast, 64, 1, ast->codec->sample_rate);

Also available in: Unified diff