Revision 72415b2a libavdevice/v4l2.c

View differences:

libavdevice/v4l2.c
646 646
    }
647 647
    s->top_field_first = first_field(s->fd);
648 648

  
649
    st->codec->codec_type = CODEC_TYPE_VIDEO;
649
    st->codec->codec_type = AVMEDIA_TYPE_VIDEO;
650 650
    st->codec->codec_id = codec_id;
651 651
    st->codec->width = width;
652 652
    st->codec->height = height;

Also available in: Unified diff