avfilter/vf_libvmaf: the libvmaf filter tried to join on an invalid thread id
authorKevin Wheatley <kevin.j.wheatley@gmail.com>
Mon, 30 Apr 2018 15:33:51 +0000 (16:33 +0100)
committerJames Almer <jamrial@gmail.com>
Fri, 4 May 2018 21:29:53 +0000 (18:29 -0300)
commit51775bc1cdeff04b836422be66e8098146aedcce
treeae11038247fd66e0ab3cb48684f3ecce8b97217e
parent244d4ba0da00b0ea7a3107ba16a983c65b182180
avfilter/vf_libvmaf: the libvmaf filter tried to join on an invalid thread id

The thread id was invalid because it was not initialised
during the calls to init_complex_filtergraph.

This adds a flag to check for initialisation before trying to
peform the join.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com>
libavfilter/vf_libvmaf.c