Revision 72415b2a libavdevice/bktr.c

View differences:

libavdevice/bktr.c
269 269
    s->frame_rate_base = frame_rate_base;
270 270
    s->per_frame = ((uint64_t)1000000 * s->frame_rate_base) / s->frame_rate;
271 271

  
272
    st->codec->codec_type = CODEC_TYPE_VIDEO;
272
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
273 273
    st->codec->pix_fmt = PIX_FMT_YUV420P;
274 274
    st->codec->codec_id = CODEC_ID_RAWVIDEO;
275 275
    st->codec->width = width;

Also available in: Unified diff