diff options
Diffstat (limited to 'vhook/fish.c')
-rw-r--r-- | vhook/fish.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vhook/fish.c b/vhook/fish.c index 86ae1a474b..2de265feb1 100644 --- a/vhook/fish.c +++ b/vhook/fish.c @@ -82,6 +82,11 @@ static void dorange(const char *s, int *first, int *second, int maxval) *second = maxval; } +void Release(void *ctx) +{ + if (ctx) + av_free(ctx); +} int Configure(void **ctxp, int argc, char *argv[]) { @@ -325,6 +330,3 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width, } } -/* To ensure correct typing */ -FrameHookConfigureFn ConfigureFn = Configure; -FrameHookProcessFn ProcessFn = Process; |