Fix cv3 build

This commit is contained in:
Milan Nikolic
2018-07-02 17:31:12 +02:00
parent ac555cbf7b
commit fa5233255e
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ func New(filename string) (video *Video, err error) {
// Read reads next frame from video and returns image.
func (v *Video) Read() (img image.Image, err error) {
ok := v.video.Read(*v.frame)
ok := v.video.Read(v.frame)
if !ok {
err = fmt.Errorf("video: can not grab frame")
return