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

@@ -8,11 +8,11 @@ import (
// https://github.com/FFmpeg/FFmpeg/blob/n7.0/libavformat/avformat.h#L1181
type Program struct {
c *C.struct_AVProgram
c *C.AVProgram
fc *FormatContext
}
func newProgramFromC(c *C.struct_AVProgram, fc *FormatContext) *Program {
func newProgramFromC(c *C.AVProgram, fc *FormatContext) *Program {
if c == nil {
return nil
}