Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove "deprecated-declarations" warnings #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions avcodec/avcodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ package avcodec
// int GO_AVCODEC_VERSION_MINOR = LIBAVCODEC_VERSION_MINOR;
// int GO_AVCODEC_VERSION_MICRO = LIBAVCODEC_VERSION_MICRO;
//
// #cgo CFLAGS: -Wno-deprecated-declarations
// #cgo pkg-config: libavcodec libavutil
import "C"

Expand Down
1 change: 1 addition & 0 deletions avfilter/avfilter.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ package avfilter
//#define GO_AVFILTER_AUTO_CONVERT_ALL ((unsigned)AVFILTER_AUTO_CONVERT_ALL)
//#define GO_AVFILTER_AUTO_CONVERT_NONE ((unsigned)AVFILTER_AUTO_CONVERT_NONE)
//
// #cgo CFLAGS: -Wno-deprecated-declarations
//#cgo pkg-config: libavfilter libavutil
import "C"

Expand Down
1 change: 1 addition & 0 deletions avformat/avformat.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ package avformat
//typedef int (*AVFormatContextIOOpenCallback)(struct AVFormatContext *s, AVIOContext **pb, const char *url, int flags, AVDictionary **options);
//typedef void (*AVFormatContextIOCloseCallback)(struct AVFormatContext *s, AVIOContext *pb);
//
// #cgo CFLAGS: -Wno-deprecated-declarations
// #cgo pkg-config: libavformat libavutil
import "C"

Expand Down
1 change: 1 addition & 0 deletions avutil/avutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ package avutil
// return AVERROR(e);
//}
//
// #cgo CFLAGS: -Wno-deprecated-declarations
// #cgo pkg-config: libavutil
import "C"

Expand Down