mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-06 08:37:06 +08:00
OpenIOContextWithDictionary (#116)
* OpenIOContextWithDictionary * OpenIOContext * OpenIOContext * IOInterrupterCB * OpenIOContext(filename string, flags IOContextFlags, ii *IOInterrupter, d *Dictionary)
This commit is contained in:
@@ -48,7 +48,7 @@ func TestClassers(t *testing.T) {
|
||||
fmc2 := AllocFormatContext()
|
||||
require.NoError(t, fmc2.OpenInput("testdata/video.mp4", nil, nil))
|
||||
path := filepath.Join(t.TempDir(), "iocontext.txt")
|
||||
ic1, err := OpenIOContext(path, NewIOContextFlags(IOContextFlagWrite))
|
||||
ic1, err := OpenIOContext(path, NewIOContextFlags(IOContextFlagWrite), nil, nil)
|
||||
require.NoError(t, err)
|
||||
defer os.RemoveAll(path)
|
||||
ic2, err := AllocIOContext(1, true, nil, nil, nil)
|
||||
|
Reference in New Issue
Block a user