drm: don't use vd->fmt until it's set
At this point vd->fmt and vd->source have the same format, but only vd->source should be read. We're the ones writing vd->fmt afterwards.
At this point vd->fmt and vd->source have the same format, but only vd->source should be read. We're the ones writing vd->fmt afterwards.
VideoLAN code repository instance