git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unused rule
[ffmpeg.git]
/
vhook
/
null.c
diff --git
a/vhook/null.c
b/vhook/null.c
index
1fcb04b
..
da35d6e
100644
(file)
--- a/
vhook/null.c
+++ b/
vhook/null.c
@@
-24,6
+24,14
@@
typedef struct {
int dummy;
} ContextInfo;
int dummy;
} ContextInfo;
+void Release(void *ctx)
+{
+ ContextInfo *ci;
+ ci = (ContextInfo *) ctx;
+
+ if (ctx)
+ av_free(ctx);
+}
int Configure(void **ctxp, int argc, char *argv[])
{
int Configure(void **ctxp, int argc, char *argv[])
{
@@
-68,6
+76,3
@@
void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width,
av_free(buf);
}
av_free(buf);
}
-/* To ensure correct typing */
-FrameHookConfigureFn ConfigureFn = Configure;
-FrameHookProcessFn ProcessFn = Process;