diff options
Diffstat (limited to 'TOOLS/vf_dlopen/telecine.c')
-rw-r--r-- | TOOLS/vf_dlopen/telecine.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TOOLS/vf_dlopen/telecine.c b/TOOLS/vf_dlopen/telecine.c index b2ad303119..6c5eb4adc0 100644 --- a/TOOLS/vf_dlopen/telecine.c +++ b/TOOLS/vf_dlopen/telecine.c @@ -237,8 +237,7 @@ int vf_dlopen_getcontext(struct vf_dlopen_context *ctx, int argc, const char **a if (!a0[0] || a0[1] || !a1[0] || argc > 2) return -1; - tc_data_t *tc = malloc(sizeof(tc_data_t)); - memset(tc, 0, sizeof(*tc)); + tc_data_t *tc = calloc(1,sizeof(tc_data_t)); if (a0[0] == 't') tc->firstfield = 0; |