From bf5dc9215e7f99dc676396145c733d5130968ae4 Mon Sep 17 00:00:00 2001 From: Jonathan Viney Date: Tue, 30 Apr 2019 14:22:01 +1200 Subject: [PATCH] Add missing imports. --- avformat/context.go | 1 + avformat/context_struct.go | 2 ++ avformat/stream_struct.go | 1 + 3 files changed, 4 insertions(+) diff --git a/avformat/context.go b/avformat/context.go index 476f8e5..ba49068 100644 --- a/avformat/context.go +++ b/avformat/context.go @@ -11,6 +11,7 @@ import ( "unsafe" "github.com/giorgisio/goav/avcodec" + "github.com/giorgisio/goav/avutil" ) const ( diff --git a/avformat/context_struct.go b/avformat/context_struct.go index 2d2696a..2e721c7 100644 --- a/avformat/context_struct.go +++ b/avformat/context_struct.go @@ -9,6 +9,8 @@ import "C" import ( "reflect" "unsafe" + + "github.com/giorgisio/goav/avutil" ) func (ctxt *Context) Chapters() **AvChapter { diff --git a/avformat/stream_struct.go b/avformat/stream_struct.go index fe87264..d2c8f76 100644 --- a/avformat/stream_struct.go +++ b/avformat/stream_struct.go @@ -10,6 +10,7 @@ import ( "unsafe" "github.com/giorgisio/goav/avcodec" + "github.com/giorgisio/goav/avutil" ) func (avs *Stream) CodecParameters() *avcodec.AvCodecParameters {