Moved all c code to .h and .c files + removed struc_ prefix when not needed

This commit is contained in:
Quentin Renard
2024-09-05 11:38:25 +02:00
parent e7c92c0115
commit 09a88834bb
45 changed files with 304 additions and 276 deletions

View File

@@ -5,10 +5,10 @@ import "C"
// https://github.com/FFmpeg/FFmpeg/blob/n5.0/libavfilter/avfilter.h#L471
type FilterLink struct {
c *C.struct_AVFilterLink
c *C.AVFilterLink
}
func newFilterLinkFromC(c *C.struct_AVFilterLink) *FilterLink {
func newFilterLinkFromC(c *C.AVFilterLink) *FilterLink {
if c == nil {
return nil
}