libavfilter/vf_gradfun.c:223: error: Uninitialized Value
  The value read from direct was never initialized.

libavfilter/vf_gradfun.c:223:10: 
221.     }
222. 
223.     if (!direct)
              ^
224.         av_frame_free(&in);
225. 
