vf_divtc: dont mix av_strdup and free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -601,7 +601,7 @@ static int vf_open(vf_instance_t *vf, char *args)
|
|||||||
const char *filename="framediff.log";
|
const char *filename="framediff.log";
|
||||||
char *ap, *q, *a;
|
char *ap, *q, *a;
|
||||||
|
|
||||||
if(args && !(args=av_strdup(args)))
|
if(args && !(args=strdup(args)))
|
||||||
{
|
{
|
||||||
nomem:
|
nomem:
|
||||||
ff_mp_msg(MSGT_VFILTER, MSGL_FATAL,
|
ff_mp_msg(MSGT_VFILTER, MSGL_FATAL,
|
||||||
|
Reference in New Issue
Block a user