mirror of
https://github.com/asticode/go-astiav.git
synced 2025-11-01 03:52:47 +08:00
Moved all c code to .h and .c files + removed struc_ prefix when not needed
This commit is contained in:
12
io_interrupter.c
Normal file
12
io_interrupter.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <libavformat/avio.h>
|
||||
|
||||
int astiavInterruptCallback(void *ret)
|
||||
{
|
||||
return *((int*)ret);
|
||||
}
|
||||
|
||||
AVIOInterruptCB astiavNewInterruptCallback(int *ret)
|
||||
{
|
||||
AVIOInterruptCB c = { astiavInterruptCallback, ret };
|
||||
return c;
|
||||
}
|
||||
Reference in New Issue
Block a user