Revision 72415b2a libavdevice/v4l.c

View differences:

libavdevice/v4l.c
242 242

  
243 243
    s->fd = video_fd;
244 244

  
245
    st->codec->codec_type = CODEC_TYPE_VIDEO;
245
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
246 246
    st->codec->codec_id = CODEC_ID_RAWVIDEO;
247 247
    st->codec->width = s->video_win.width;
248 248
    st->codec->height = s->video_win.height;

Also available in: Unified diff