mirror of
https://github.com/qrtc/ffmpeg-dev-go.git
synced 2025-10-11 18:40:30 +08:00
2023-11-01 18:52:03 CST W44D3
This commit is contained in:
@@ -180,7 +180,7 @@ func (fltc *AVFilterContext) GetName() string {
|
||||
|
||||
// SetName sets `AVFilterContext.name` value.
|
||||
func (fltc *AVFilterContext) SetName(v string) {
|
||||
C.free(unsafe.Pointer(fltc.name))
|
||||
FreePointer(fltc.name)
|
||||
fltc.name, _ = StringCasting(v)
|
||||
}
|
||||
|
||||
@@ -1032,7 +1032,7 @@ func (fltio *AVFilterInOut) GetName() string {
|
||||
|
||||
// SetName sets `AVFilterInOut.name` value.
|
||||
func (fltio *AVFilterInOut) SetName(v string) {
|
||||
C.free(unsafe.Pointer(fltio.name))
|
||||
FreePointer(fltio.name)
|
||||
fltio.name, _ = StringCasting(v)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user