mirror of
https://github.com/asticode/go-astiav.git
synced 2025-10-05 08:06:59 +08:00
12 lines
222 B
C
12 lines
222 B
C
#include <libavformat/avio.h>
|
|
|
|
int astiavInterruptCallback(void *ret)
|
|
{
|
|
return *((int*)ret);
|
|
}
|
|
|
|
AVIOInterruptCB astiavNewInterruptCallback(int *ret)
|
|
{
|
|
AVIOInterruptCB c = { astiavInterruptCallback, ret };
|
|
return c;
|
|
} |